mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
winbind: Fix an error path memleak
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
d48aa9a56b
commit
e8efe16b3c
@ -196,6 +196,7 @@ static void dcinfo_parser(const struct gencache_timeout *timeout,
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
DBG_ERR("ndr_pull_struct_blob failed\n");
|
||||
state->status = ndr_map_error2ntstatus(ndr_err);
|
||||
TALLOC_FREE(state->dcinfo);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user