summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-18 07:58:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:37 -0500
commit9b4a689c9851ada1580c0b93a791fced57a3c45c (patch)
tree989f5186a705fb5e75a126f94183aa4f6a362e2f /source4/auth
parentfe1d56dd3bc901e7dcba8e7d013bfbc47f4a4ea8 (diff)
downloadsamba-9b4a689c9851ada1580c0b93a791fced57a3c45c.tar.gz
samba-9b4a689c9851ada1580c0b93a791fced57a3c45c.tar.bz2
samba-9b4a689c9851ada1580c0b93a791fced57a3c45c.zip
r22990: free temporary memory also on success...
metze (This used to be commit 876a6ef4857a73987d1eba127161993cf07a613b)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/kerberos/kerberos_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c
index 631cc2d11f..44295c9abe 100644
--- a/source4/auth/kerberos/kerberos_util.c
+++ b/source4/auth/kerberos/kerberos_util.c
@@ -237,6 +237,7 @@ krb5_error_code principal_from_credentials(TALLOC_CTX *parent_ctx,
talloc_free(mem_ctx);
return ret;
}
+ talloc_free(mem_ctx);
return 0;
}