memory leak in test code t_authdata
authorEzra Peisach <epeisach@mit.edu>
Thu, 30 Jul 2009 17:12:20 +0000 (17:12 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 30 Jul 2009 17:12:20 +0000 (17:12 +0000)
Free the krb5_context at the end to release memory.

ticket: 6540

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22473 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/t_authdata.c

index 5bacf5f64f7bdd4364312510e0805ad030be0159..8b786875f5a07f77f7ea886d7149cc79b4b7da2f 100644 (file)
@@ -98,5 +98,6 @@ int main()
     assert( results[3] == NULL);
     krb5_free_authdata(context, results);
     krb5_free_authdata(context, container_out);
+    krb5_free_context(context);
     return 0;
 }