diff options
author | Volker Lendecke <vl@samba.org> | 2009-06-28 13:03:14 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-06-28 15:51:02 +0200 |
commit | ae5e1d984109d0b0d8356416d74b51c4f5311d2a (patch) | |
tree | 6e649d27a4808852ee0db2b1b7f0d098399faedd /source3/lib | |
parent | 8e22e38c9c4a08f9f49f3f8f29dab8d6a948948e (diff) | |
download | samba-ae5e1d984109d0b0d8356416d74b51c4f5311d2a.tar.gz samba-ae5e1d984109d0b0d8356416d74b51c4f5311d2a.tar.xz samba-ae5e1d984109d0b0d8356416d74b51c4f5311d2a.zip |
tldap_msg_received: Properly free the asn1_struct in case of an error
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/tldap.c | 1 |
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; } |