1
0
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:
Volker Lendecke 2018-10-15 08:32:33 +02:00 committed by Jeremy Allison
parent d48aa9a56b
commit e8efe16b3c

View File

@ -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;
}