summaryrefslogtreecommitdiff
path: root/source3/lib/tldap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2016-02-08 14:40:19 +0100
committerRalph Boehme <slow@samba.org>2016-02-08 22:32:23 +0100
commit9219756a369d31f44a77de2c43b8176c95108665 (patch)
tree45fdeff4bf6b49fe2346bf7f7a71708b123f72b9 /source3/lib/tldap.c
parent4953b1f73f8ec9387516be1058434d71937e1447 (diff)
downloadsamba-9219756a369d31f44a77de2c43b8176c95108665.tar.gz
tldap: Add a missing TALLOC_FREE(frame)
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/lib/tldap.c')
-rw-r--r--source3/lib/tldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index a7027832470..6f42e6120be 100644
--- a/source3/lib/tldap.c
+++ b/source3/lib/tldap.c
@@ -1987,7 +1987,7 @@ TLDAPRC tldap_search(struct tldap_context *ld,
rc = tldap_search_all_recv(req, mem_ctx, &msgs, &result);
TALLOC_FREE(req);
if (!TLDAP_RC_IS_SUCCESS(rc)) {
- return rc;
+ goto fail;
}
TALLOC_FREE(ld->last_msg);