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/NativeInteger.c b/skeletons/NativeInteger.c
index b974ebf..2f2b32d 100644
--- a/skeletons/NativeInteger.c
+++ b/skeletons/NativeInteger.c
@@ -194,7 +194,7 @@
*/
rval.consumed = 0;
}
- asn_DEF_INTEGER.free_struct(&asn_DEF_INTEGER, &st, 1);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_INTEGER, &st);
return rval;
}
@@ -248,7 +248,7 @@
ASN_DEBUG("NativeInteger %s got value %ld",
td->name, *native);
}
- asn_DEF_INTEGER.free_struct(&asn_DEF_INTEGER, &tmpint, 1);
+ ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF_INTEGER, &tmpint);
return rval;
}