From: Volker Lendecke Date: Tue, 10 Jan 2017 13:24:22 +0000 (+0000) Subject: winbind: Fix CID 1398531 Resource leak X-Git-Tag: talloc-2.1.9~428 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24a81937d009a3079d75e3bab6e46eae35fc797f;p=thirdparty%2Fsamba.git winbind: Fix CID 1398531 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_samr.c b/source3/winbindd/winbindd_samr.c index dd674965f17..224f1058348 100644 --- a/source3/winbindd/winbindd_samr.c +++ b/source3/winbindd/winbindd_samr.c @@ -208,6 +208,7 @@ done: dcerpc_samr_Close(b, mem_ctx, &dom_pol, &result); } + TALLOC_FREE(rids); TALLOC_FREE(tmp_ctx); return status; }