diff options
author | Lev Walkin <vlm@lionet.info> | 2004-11-08 10:47:12 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2004-11-08 10:47:12 +0000 |
commit | b54577aed861e3d83c9b660847b2d0ff7041d733 (patch) | |
tree | d3edfa6ad3afb8cb8270d4c2e2cb59186bd70d3b /skeletons | |
parent | 3645c1c1f94504ea1a88fbdefc04688096c7d291 (diff) |
moved dereference to its place
Diffstat (limited to 'skeletons')
-rw-r--r-- | skeletons/OCTET_STRING.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/skeletons/OCTET_STRING.c b/skeletons/OCTET_STRING.c index c11bcae9..c35588d7 100644 --- a/skeletons/OCTET_STRING.c +++ b/skeletons/OCTET_STRING.c @@ -1231,7 +1231,7 @@ OCTET_STRING_free(asn_TYPE_descriptor_t *td, void *sptr, int contents_only) { : &asn_DEF_OCTET_STRING_specs; asn_struct_ctx_t *ctx = (asn_struct_ctx_t *) ((char *)st + specs->ctx_offset); - struct _stack *stck = (struct _stack *)ctx->ptr; + struct _stack *stck; if(!td || !st) return; @@ -1245,6 +1245,7 @@ OCTET_STRING_free(asn_TYPE_descriptor_t *td, void *sptr, int contents_only) { /* * Remove decode-time stack. */ + stck = (struct _stack *)ctx->ptr; if(stck) { while(stck->tail) { struct _stack_el *sel = stck->tail; |