summaryrefslogtreecommitdiff
path: root/source3/libgpo
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2017-05-09 14:31:15 +0200
committerJeremy Allison <jra@samba.org>2017-05-09 23:20:08 +0200
commit51ddb563ef7bd177cd7b08c41070e92dad3e3c82 (patch)
treeb4fb944171cdcea5d64cc99044dc9e7528f12736 /source3/libgpo
parent85e3d1774cd069dc02a34850afc3c3df022eee91 (diff)
downloadsamba-51ddb563ef7bd177cd7b08c41070e92dad3e3c82.tar.gz
s3-gpo: Fix CID #1405972 Resource leak
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libgpo')
-rw-r--r--source3/libgpo/gpext/registry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libgpo/gpext/registry.c b/source3/libgpo/gpext/registry.c
index 4a0d0cfe848..ceb05f030b6 100644
--- a/source3/libgpo/gpext/registry.c
+++ b/source3/libgpo/gpext/registry.c
@@ -342,6 +342,7 @@ static NTSTATUS registry_process_group_policy(TALLOC_CTX *mem_ctx,
err_cache_path_free:
talloc_free(gpo_cache_path);
+ talloc_free(entries);
return status;
}