From cb38e73d194c941bd1927061778827597bca42b5 Mon Sep 17 00:00:00 2001 From: vlm Date: Sun, 27 Nov 2005 12:40:43 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1013 59561ff5-6e30-0410-9f3c-9617f08c8826 --- skeletons/NativeInteger.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;