summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2015-11-18 12:29:43 +0100
committerTomas Babej <tbabej@redhat.com>2015-11-23 14:45:54 +0100
commit3d6fdab904319e38557080f7dec1d481be8f1469 (patch)
treea1ed54ab99c8e180da8ae4067fe9331dda526629
parent84e479edaaeb64567f4cfc847aa735bbd106220d (diff)
downloadfreeipa-3d6fdab904319e38557080f7dec1d481be8f1469.tar.gz
freeipa-3d6fdab904319e38557080f7dec1d481be8f1469.tar.xz
freeipa-3d6fdab904319e38557080f7dec1d481be8f1469.zip
ipasam: fix wrong usage of talloc_new()
Fixes https://fedorahosted.org/freeipa/ticket/5457 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
-rw-r--r--daemons/ipa-sam/ipa_sam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-sam/ipa_sam.c b/daemons/ipa-sam/ipa_sam.c
index 19d0a23ab..2863ede10 100644
--- a/daemons/ipa-sam/ipa_sam.c
+++ b/daemons/ipa-sam/ipa_sam.c
@@ -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;
}