git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d740f5c
)
minor memory leak fix from Chere Zhou <czhou@isilon.com>.
author
Jeremy Allison
<jra@samba.org>
Sat, 31 May 2008 01:02:00 +0000
(18:02 -0700)
committer
Jeremy Allison
<jra@samba.org>
Sat, 31 May 2008 01:02:00 +0000
(18:02 -0700)
Jeremy.
source/libsmb/asn1.c
patch
|
blob
|
history
diff --git
a/source/libsmb/asn1.c
b/source/libsmb/asn1.c
index 6ebe9ab62cf88405106e877b345cac94d503531b..0ad8f2403ee22e598883dc9cae404470e48ff79c 100644
(file)
--- a/
source/libsmb/asn1.c
+++ b/
source/libsmb/asn1.c
@@
-396,6
+396,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);