mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
s3:idmap_autorid: in initialize, don't leak storedconfig to talloc_tos() in the success case
This commit is contained in:
parent
389eada12d
commit
d278eba784
@ -534,10 +534,12 @@ static NTSTATUS idmap_autorid_initialize(struct idmap_domain *dom)
|
||||
goto error;
|
||||
}
|
||||
|
||||
return NT_STATUS_OK;
|
||||
goto done;
|
||||
|
||||
error:
|
||||
error:
|
||||
talloc_free(config);
|
||||
|
||||
done:
|
||||
talloc_free(storedconfig);
|
||||
|
||||
return status;
|
||||
|
Loading…
Reference in New Issue
Block a user