1
0
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:
Michael Adam 2011-06-10 00:49:37 +02:00
parent 389eada12d
commit d278eba784

View File

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