]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ldap_server: Do an early TALLOC_FREE()
authorVolker Lendecke <vl@samba.org>
Mon, 10 Aug 2020 12:48:45 +0000 (14:48 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 17 Aug 2020 11:10:04 +0000 (11:10 +0000)
We don't need the asn1 struct after this point anymore

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Aug 17 11:10:04 UTC 2020 on sn-devel-184

source4/ldap_server/ldap_server.c

index 07db1de1b16530cf80d7b30b1af52844ad0a8307..5a078aaa64f3101f0dfc148457eaf4b66ce7e2b1 100644 (file)
@@ -604,6 +604,7 @@ static void ldapsrv_call_read_done(struct tevent_req *subreq)
        }
 
        data_blob_free(&blob);
+       TALLOC_FREE(asn1);
 
 
        /* queue the call in the global queue */