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:
parent
9c6c2ad26d
commit
4cef6d29ff
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user