svn rev #22808: branches/krb5-1-7/src/lib/krb5/krb/

tlyu@MIT.EDU tlyu at MIT.EDU
Mon Sep 28 21:12:31 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22808
Commit By: tlyu
Log Message:
ticket: 6540
status: resolved
version_fixed: 1.7.1

pull up r22473 from trunk

 ------------------------------------------------------------------------
 r22473 | epeisach | 2009-07-30 13:12:20 -0400 (Thu, 30 Jul 2009) | 5 lines

 ticket: 6540
 subject: memory leak in test code t_authdata

 Free the krb5_context at the end to release memory.


Changed Files:
U   branches/krb5-1-7/src/lib/krb5/krb/t_authdata.c
Modified: branches/krb5-1-7/src/lib/krb5/krb/t_authdata.c
===================================================================
--- branches/krb5-1-7/src/lib/krb5/krb/t_authdata.c	2009-09-29 01:12:25 UTC (rev 22807)
+++ branches/krb5-1-7/src/lib/krb5/krb/t_authdata.c	2009-09-29 01:12:31 UTC (rev 22808)
@@ -98,5 +98,6 @@
     assert( results[3] == NULL);
     krb5_free_authdata(context, results);
     krb5_free_authdata(context, container_out);
+    krb5_free_context(context);
     return 0;
 }




More information about the cvs-krb5 mailing list