diff options
author | Volker Lendecke <vl@samba.org> | 2017-01-10 13:29:38 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-01-11 04:38:25 +0100 |
commit | f16908c454e4350d9b3a321ea78d345f7c7bfd55 (patch) | |
tree | 62723f3731563245f788bf9ed682418c729e9880 /source3 | |
parent | e8008fb36d7821eafffc5f0ff2ee6f080f84c4ae (diff) | |
download | samba-f16908c454e4350d9b3a321ea78d345f7c7bfd55.tar.gz |
winbind: Fix CID 1398530 Resource leak
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan 11 04:38:25 CET 2017 on sn-devel-144
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index d92c050ee70..4431cb52b64 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -1457,6 +1457,7 @@ do_fetch_cache: rids = talloc_array(mem_ctx, uint32_t, num_rids); if (rids == NULL) { + centry_free(centry); return NT_STATUS_NO_MEMORY; } |