*** empty log message ***


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@996 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/OCTET_STRING.c b/skeletons/OCTET_STRING.c
index de53c1d..447b242 100644
--- a/skeletons/OCTET_STRING.c
+++ b/skeletons/OCTET_STRING.c
@@ -639,6 +639,8 @@
 		}
 	}
 
+	er.structure_ptr = 0;
+	er.failed_type = 0;
 	return er;
 cb_failed:
 	_ASN_ENCODE_FAILED;
@@ -779,6 +781,8 @@
 		_ASN_ENCODE_FAILED;
 
 	er.encoded = encoded_len;
+	er.structure_ptr = 0;
+	er.failed_type = 0;
 	return er;
 }