svn rev #24650: trunk/src/lib/krb5/krb/

epeisach@MIT.EDU epeisach at MIT.EDU
Wed Feb 23 06:38:33 EST 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24650
Commit By: epeisach
Log Message:
ticket: 6872
subject: Fix memory leak in t_expire_warn

Free context.  Allows one to look for new leaks introduced in other
pathways.




Changed Files:
U   trunk/src/lib/krb5/krb/t_expire_warn.c
Modified: trunk/src/lib/krb5/krb/t_expire_warn.c
===================================================================
--- trunk/src/lib/krb5/krb/t_expire_warn.c	2011-02-23 04:36:53 UTC (rev 24649)
+++ trunk/src/lib/krb5/krb/t_expire_warn.c	2011-02-23 11:38:33 UTC (rev 24650)
@@ -86,5 +86,6 @@
     krb5_get_init_creds_opt_free(ctx, opt);
     krb5_free_principal(ctx, client);
     krb5_free_cred_contents(ctx, &creds);
+    krb5_free_context(ctx);
     return 0;
 }




More information about the cvs-krb5 mailing list