summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-10-23 20:41:15 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-11-05 00:14:05 +0100
commitb3ea76f3c6d32b4fbf29caa2f4f6ec4138da5be1 (patch)
tree72678a4882b1b78b7348add81dda4c28ae5d546c /src/providers
parent2f13b3e3f29b7788b7613a275bd87dfc30d1b824 (diff)
downloadsssd-b3ea76f3c6d32b4fbf29caa2f4f6ec4138da5be1.tar.gz
sssd-b3ea76f3c6d32b4fbf29caa2f4f6ec4138da5be1.tar.xz
sssd-b3ea76f3c6d32b4fbf29caa2f4f6ec4138da5be1.zip
krb5_mod_ccname: replace wrong memory context
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/krb5/krb5_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c
index 72f0711eb..98dc8d840 100644
--- a/src/providers/krb5/krb5_auth.c
+++ b/src/providers/krb5/krb5_auth.c
@@ -145,7 +145,7 @@ static int krb5_mod_ccname(TALLOC_CTX *mem_ctx,
return ENOMEM;
}
- attrs = sysdb_new_attrs(mem_ctx);
+ attrs = sysdb_new_attrs(tmpctx);
if (!attrs) {
ret = ENOMEM;
goto done;