]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
winbind: Fix CID 1398533 Resource leak
authorVolker Lendecke <vl@samba.org>
Tue, 10 Jan 2017 13:24:22 +0000 (13:24 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 10 Jan 2017 23:49:22 +0000 (00:49 +0100)
Not really a leak due to talloc, but this way it's clear

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_msrpc.c

index 4b742c4c58b0aa57389a62237703c30798e1f084..0d0e4ca6506579357bdc3ad055fe99c443c7d8e6 100644 (file)
@@ -90,6 +90,7 @@ static NTSTATUS msrpc_query_user_list(struct winbindd_domain *domain,
        }
 
 done:
+       TALLOC_FREE(rids);
        TALLOC_FREE(tmp_ctx);
        return status;
 }