[CalendarServer-changes] [3005] PyKerberos/trunk/src/kerberosgss.c

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 17 03:35:18 PDT 2008


Revision: 3005
          http://trac.macosforge.org/projects/calendarserver/changeset/3005
Author:   agx at sigxcpu.org
Date:     2008-09-17 03:35:15 -0700 (Wed, 17 Sep 2008)
Log Message:
-----------
add missing krb5_free_keytab_entry_contents()

noticed by bland at bbnest.net
Fixes #288

Modified Paths:
--------------
    PyKerberos/trunk/src/kerberosgss.c

Modified: PyKerberos/trunk/src/kerberosgss.c
===================================================================
--- PyKerberos/trunk/src/kerberosgss.c	2008-09-17 09:38:55 UTC (rev 3004)
+++ PyKerberos/trunk/src/kerberosgss.c	2008-09-17 10:35:15 UTC (rev 3005)
@@ -84,6 +84,7 @@
 	    result = malloc(strlen(pname) + 1);
 	    strcpy(result, pname);
 	    krb5_free_unparsed_name(kcontext, pname);
+	    krb5_free_keytab_entry_contents(kcontext, &entry);
 	    break;
 	}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080917/fc2788b4/attachment.html 


More information about the calendarserver-changes mailing list