mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
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
This commit is contained in:
parent
e8008fb36d
commit
f16908c454
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user