[PATCH] Fix Coverity issue in gpo code
Günther Deschner
gd at samba.org
Tue May 9 20:07:03 UTC 2017
Hi,
please review and push.
Thanks,
Guenther
--
Günther Deschner GPG-ID: 8EE11688
Red Hat gdeschner at redhat.com
Samba Team gd at samba.org
-------------- next part --------------
From 36357ce16d0c098eb38ce61ed68281f1b2822c02 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd at samba.org>
Date: Tue, 9 May 2017 14:31:15 +0200
Subject: [PATCH] s3-gpo: Fix CID #1405972 Resource leak
Guenther
Signed-off-by: Guenther Deschner <gd at samba.org>
---
source3/libgpo/gpext/registry.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/source3/libgpo/gpext/registry.c b/source3/libgpo/gpext/registry.c
index 4a0d0cf..ceb05f0 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;
}
--
2.9.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 201 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170509/168ab6a5/signature.sig>
More information about the samba-technical
mailing list