]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tldap: Add a missing TALLOC_FREE(frame)
authorVolker Lendecke <vl@samba.org>
Mon, 8 Feb 2016 13:40:19 +0000 (14:40 +0100)
committerRalph Boehme <slow@samba.org>
Mon, 8 Feb 2016 21:32:23 +0000 (22:32 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/tldap.c

index a7027832470d35480d9ebef6ded6ab07a984c8a2..6f42e6120bee2bb15ea2ff138c003ac54de0b40a 100644 (file)
@@ -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);