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

epeisach@MIT.EDU epeisach at MIT.EDU
Thu Jul 30 13:12:20 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22473
Commit By: epeisach
Log Message:
ticket: 6540
subject: memory leak in test code t_authdata

Free the krb5_context at the end to release memory.




Changed Files:
U   trunk/src/lib/krb5/krb/t_authdata.c
Modified: trunk/src/lib/krb5/krb/t_authdata.c
===================================================================
--- trunk/src/lib/krb5/krb/t_authdata.c	2009-07-30 08:07:38 UTC (rev 22472)
+++ trunk/src/lib/krb5/krb/t_authdata.c	2009-07-30 17:12:20 UTC (rev 22473)
@@ -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