summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2004-09-21 12:50:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:44 -0500
commita71c7b4e173a9f99d470c4be2c6ecc2989d34486 (patch)
tree3b82c8f2c3eb05cfbda5d459b5e978435f846d48 /source3
parent2dce7d4409f4f43e1c8a62cdc3cc476c8cab0a45 (diff)
downloadsamba-a71c7b4e173a9f99d470c4be2c6ecc2989d34486.tar.gz
samba-a71c7b4e173a9f99d470c4be2c6ecc2989d34486.tar.bz2
samba-a71c7b4e173a9f99d470c4be2c6ecc2989d34486.zip
r2474: (re-)fix memleak (initially found by jra).
heimdal 0.6.1rc3 had a bug causing winbindd to die, heimdal version 0.6.1 and higher have that fixed (thanks to Love from Heimdal). SuSE has been informed about this possible pitfall, any other vendors that ship with heimdal-0.6.1rc3 to be notified ? Guenther (This used to be commit 6239a5bec99c62032e0cde20679a71622dd7a059)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clikrb5.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 2b0c054493..f7f84f1e29 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -430,14 +430,8 @@ int cli_krb5_get_ticket(const char *principal, time_t time_offset,
failed:
if ( context ) {
-/* Removed by jra. They really need to fix their kerberos so we don't leak memory.
- JERRY -- disabled since it causes heimdal 0.6.1rc3 to die
- SuSE 9.1 Pro
-*/
if (ccdef)
-#if 0 /* redisabled by gd :) at least until any official heimdal version has it fixed. */
krb5_cc_close(context, ccdef);
-#endif
if (auth_context)
krb5_auth_con_free(context, auth_context);
krb5_free_context(context);