mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipasam: fix wrong usage of talloc_new()
Fixes https://fedorahosted.org/freeipa/ticket/5457 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
84e479edaa
commit
3d6fdab904
@ -3027,7 +3027,7 @@ static int ipasam_get_sid_by_gid(struct ldapsam_privates *ldap_state,
|
||||
enum idmap_error_code err;
|
||||
struct unixid id;
|
||||
|
||||
tmp_ctx = talloc_new("ipasam_get_sid_by_gid");
|
||||
tmp_ctx = talloc_init("ipasam_get_sid_by_gid");
|
||||
if (tmp_ctx == NULL) {
|
||||
return ENOMEM;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user