[PATCH] Fix Coverity issue in gpo code
Jeremy Allison
jra at samba.org
Tue May 9 21:09:14 UTC 2017
On Tue, May 09, 2017 at 10:07:03PM +0200, Günther Deschner via samba-technical wrote:
> Hi,
>
> please review and push.
LGTM. Pushed !
> --
> Günther Deschner GPG-ID: 8EE11688
> Red Hat gdeschner at redhat.com
> Samba Team gd at samba.org
> 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
>
More information about the samba-technical
mailing list