From: Volker Lendecke Date: Tue, 10 Jan 2017 13:24:22 +0000 (+0000) Subject: winbind: Fix CID 1398533 Resource leak X-Git-Tag: talloc-2.1.9~430 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4495535cb55afe254a6bd15df1121e14ad7ad054;p=thirdparty%2Fsamba.git winbind: Fix CID 1398533 Resource leak Not really a leak due to talloc, but this way it's clear Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/winbindd/winbindd_msrpc.c b/source3/winbindd/winbindd_msrpc.c index 4b742c4c58b..0d0e4ca6506 100644 --- a/source3/winbindd/winbindd_msrpc.c +++ b/source3/winbindd/winbindd_msrpc.c @@ -90,6 +90,7 @@ static NTSTATUS msrpc_query_user_list(struct winbindd_domain *domain, } done: + TALLOC_FREE(rids); TALLOC_FREE(tmp_ctx); return status; }