diff options
author | Chere Zhou <czhou@isilon.com> | 2008-05-30 13:16:51 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-05-30 17:55:14 -0700 |
commit | 70b37891f9f3f065254c61ec6c5741592d0b3735 (patch) | |
tree | 0ed2bce3a5a281e3824a5258944a22a587d7313b /source3/libsmb | |
parent | 4408fdaf29c2e3ddb240aca2f70316d875f68c35 (diff) | |
download | samba-70b37891f9f3f065254c61ec6c5741592d0b3735.tar.gz samba-70b37891f9f3f065254c61ec6c5741592d0b3735.tar.bz2 samba-70b37891f9f3f065254c61ec6c5741592d0b3735.zip |
minor memory leak fix
(This used to be commit 0c61631f345436bf88e93219c139af8cfbeea18b)
Diffstat (limited to 'source3/libsmb')
-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); |