diff options
-rw-r--r-- | source3/libsmb/asn1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/asn1.c b/source3/libsmb/asn1.c index 39413e252e..aca1c48841 100644 --- a/source3/libsmb/asn1.c +++ b/source3/libsmb/asn1.c @@ -425,6 +425,7 @@ bool asn1_check_OID(ASN1_DATA *data, const char *OID) if (strcmp(id, OID) != 0) { data->has_error = true; + free(id); return false; } free(id); |