summaryrefslogtreecommitdiff
path: root/src/providers/krb5
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-10-23 20:41:15 +0200
committerSumit Bose <sbose@redhat.com>2012-10-26 10:32:05 +0200
commitcac29dc2ece94180de33b52c113865bbab49b252 (patch)
tree25f2466367e1b878015c3d133e31acea36aab08b /src/providers/krb5
parentdca03a97f4e1532ee2f2cbd26b1538ab6ccf18f7 (diff)
downloadsssd-cac29dc2ece94180de33b52c113865bbab49b252.tar.gz
sssd-cac29dc2ece94180de33b52c113865bbab49b252.tar.bz2
sssd-cac29dc2ece94180de33b52c113865bbab49b252.zip
krb5_mod_ccname: replace wrong memory context
Diffstat (limited to 'src/providers/krb5')
-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 72f0711e..98dc8d84 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;