git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44760c3
)
r22405: fix memory leak in error path
author
Stefan Metzmacher
<metze@samba.org>
Fri, 20 Apr 2007 11:02:45 +0000
(11:02 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:51:15 +0000
(14:51 -0500)
metze
(This used to be commit
d19195bfa5405822613d5236cd76547f0ac77bde
)
source4/libcli/ldap/ldap_client.c
patch
|
blob
|
history
diff --git
a/source4/libcli/ldap/ldap_client.c
b/source4/libcli/ldap/ldap_client.c
index 8852fd542728f5d39231e1a96b2fb50e35656ae4..39f265015a479ec43b90a072b64557bc126d1fc3 100644
(file)
--- a/
source4/libcli/ldap/ldap_client.c
+++ b/
source4/libcli/ldap/ldap_client.c
@@
-186,6
+186,7
@@
static NTSTATUS ldap_recv_handler(void *private_data, DATA_BLOB blob)
status = ldap_decode(&asn1, msg);
if (!NT_STATUS_IS_OK(status)) {
+ asn1_free(&asn1);
return status;
}