aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-11-27 12:40:43 +0000
committerLev Walkin <vlm@lionet.info>2005-11-27 12:40:43 +0000
commitb2bed8200ce068356b64a61e7bd31c0dfb40ae76 (patch)
tree9e8a8c586679b6ed21a0e3667352c64eb800d45f
parent8394b05addeef99033ee6b10cf3d500b923d3ad2 (diff)
*** empty log message ***
-rw-r--r--skeletons/NativeInteger.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/skeletons/NativeInteger.c b/skeletons/NativeInteger.c
index 2e44eaa6..b974ebf9 100644
--- a/skeletons/NativeInteger.c
+++ b/skeletons/NativeInteger.c
@@ -241,12 +241,13 @@ NativeInteger_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
memset(&tmpint, 0, sizeof tmpint);
rval = INTEGER_decode_uper(opt_codec_ctx, td, constraints,
&tmpintptr, pd);
- if(rval.code == RC_OK)
+ if(rval.code == RC_OK) {
if(asn_INTEGER2long(&tmpint, native))
rval.code = RC_FAIL;
else
ASN_DEBUG("NativeInteger %s got value %ld",
td->name, *native);
+ }
asn_DEF_INTEGER.free_struct(&asn_DEF_INTEGER, &tmpint, 1);
return rval;