1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

idmap_autorid: Fix a small memleak

Not long-term, all callers free our "mem_ctx" immediately

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Volker Lendecke 2016-12-05 15:29:06 +00:00
parent 9c6c2ad26d
commit 4cef6d29ff

View File

@ -887,6 +887,7 @@ NTSTATUS idmap_autorid_loadconfig(struct db_context *db,
}
ok = idmap_autorid_parse_configstr(configstr, cfg);
TALLOC_FREE(configstr);
if (!ok) {
talloc_free(cfg);
return NT_STATUS_INVALID_PARAMETER;