summaryrefslogtreecommitdiffstats
path: root/source3/lib/tldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/tldap.c')
-rw-r--r--source3/lib/tldap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index aba8a25fbff..cbd96480070 100644
--- 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;
}