macro for free_struct()
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1086 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/NativeReal.c b/skeletons/NativeReal.c
index 9b30368..3e6c254 100644
--- a/skeletons/NativeReal.c
+++ b/skeletons/NativeReal.c
@@ -152,7 +152,7 @@
}
/* Free possibly allocated members of the temporary structure */
- asn_DEF_REAL.free_struct(&asn_DEF_REAL, &tmp, 1);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_REAL, &tmp);
return erval;
}
@@ -190,7 +190,7 @@
} else {
rval.consumed = 0;
}
- asn_DEF_REAL.free_struct(&asn_DEF_REAL, st, 0);
+ ASN_STRUCT_FREE(asn_DEF_REAL, st);
return rval;
}