git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e22e38
)
tldap_msg_received: Properly free the asn1_struct in case of an error
author
Volker Lendecke
<vl@samba.org>
Sun, 28 Jun 2009 11:03:14 +0000
(13:03 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 28 Jun 2009 13:51:02 +0000
(15:51 +0200)
source3/lib/tldap.c
patch
|
blob
|
history
diff --git
a/source3/lib/tldap.c
b/source3/lib/tldap.c
index aba8a25fbff0682c367c1b47a6c7ad326a645fc3..cbd9648007026e3e6fc15cfedd0817e07cbea0e2 100644
(file)
--- a/
source3/lib/tldap.c
+++ b/
source3/lib/tldap.c
@@
-585,6
+585,7
@@
static void tldap_msg_received(struct tevent_req *subreq)
/* Dump unexpected reply */
tldap_debug(ld, TLDAP_DEBUG_WARNING, "tldap_msg_received: "
"No request pending for msg %d\n", id);
+ TALLOC_FREE(data);
TALLOC_FREE(inbuf);
goto done;
}