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:
@@ -3027,7 +3027,7 @@ static int ipasam_get_sid_by_gid(struct ldapsam_privates *ldap_state,
|
|||||||
enum idmap_error_code err;
|
enum idmap_error_code err;
|
||||||
struct unixid id;
|
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) {
|
if (tmp_ctx == NULL) {
|
||||||
return ENOMEM;
|
return ENOMEM;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user