summaryrefslogtreecommitdiffstats
path: root/src/providers/krb5/krb5_auth.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-10-27 15:39:37 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-11-01 07:30:07 -0400
commitb2ef0ef73ead4b9ee42dca3d704df2ce75ddeb63 (patch)
treee87578ea0d371b9a0686e43e370402f435c7f279 /src/providers/krb5/krb5_auth.c
parent729ec6e36349c17f76e75be3871f4f6e179e115f (diff)
downloadsssd-b2ef0ef73ead4b9ee42dca3d704df2ce75ddeb63.tar.gz
sssd-b2ef0ef73ead4b9ee42dca3d704df2ce75ddeb63.tar.xz
sssd-b2ef0ef73ead4b9ee42dca3d704df2ce75ddeb63.zip
Fix incorrect free of req in krb5_auth.c
Diffstat (limited to 'src/providers/krb5/krb5_auth.c')
-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 341e73aaa..abf5d533b 100644
--- a/src/providers/krb5/krb5_auth.c
+++ b/src/providers/krb5/krb5_auth.c
@@ -870,7 +870,7 @@ static void krb5_resolve_kpasswd_done(struct tevent_req *subreq)
int ret;
ret = be_resolve_server_recv(subreq, &state->kr->kpasswd_srv);
- talloc_zfree(req);
+ talloc_zfree(subreq);
if (ret) {
/* all kpasswd servers have been tried and none was found good, but the
* kdc seems ok. Password changes are not possible but