summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-01-10 13:24:22 +0000
committerJeremy Allison <jra@samba.org>2017-01-11 00:49:22 +0100
commit24a81937d009a3079d75e3bab6e46eae35fc797f (patch)
tree567d1a764795445838fe8c48f19d088f6673a713 /source3
parent5f024a0079cf5b762eafe68264fa2599f33666b7 (diff)
downloadsamba-24a81937d009a3079d75e3bab6e46eae35fc797f.tar.gz
winbind: Fix CID 1398531 Resource leak
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>
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_samr.c1
1 files changed, 1 insertions, 0 deletions
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;
}