diff options
-rw-r--r-- | lib/util/asn1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/asn1.c b/lib/util/asn1.c index 184aeec909..317ee1314c 100644 --- a/lib/util/asn1.c +++ b/lib/util/asn1.c @@ -262,6 +262,7 @@ bool asn1_write_OID(struct asn1_data *data, const char *OID) } if (!asn1_write(data, blob.data, blob.length)) { + data_blob_free(&blob); data->has_error = true; return false; } |