aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/REAL.c
diff options
context:
space:
mode:
Diffstat (limited to 'skeletons/REAL.c')
-rw-r--r--skeletons/REAL.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/skeletons/REAL.c b/skeletons/REAL.c
index 7447aae9..c4801538 100644
--- a/skeletons/REAL.c
+++ b/skeletons/REAL.c
@@ -257,6 +257,8 @@ REAL_encode_xer(asn_TYPE_descriptor_t *td, void *sptr,
er.encoded = REAL__dump(d, flags & XER_F_CANONICAL, cb, app_key);
if(er.encoded < 0) _ASN_ENCODE_FAILED;
+ er.structure_ptr = 0;
+ er.failed_type = 0;
return er;
}