svn rev #24291: trunk/src/tests/verify/
epeisach@MIT.EDU
epeisach at MIT.EDU
Sat Sep 4 17:43:05 EDT 2010
http://src.mit.edu/fisheye/changelog/krb5/?cs=24291
Commit By: epeisach
Log Message:
ticket: 6771
subject: Fix memory leaks in kdb5_verify
Minor leaks. Just cleaning up code.
Changed Files:
U trunk/src/tests/verify/kdb5_verify.c
Modified: trunk/src/tests/verify/kdb5_verify.c
===================================================================
--- trunk/src/tests/verify/kdb5_verify.c 2010-09-04 14:50:27 UTC (rev 24290)
+++ trunk/src/tests/verify/kdb5_verify.c 2010-09-04 21:43:04 UTC (rev 24291)
@@ -214,6 +214,7 @@
com_err(progname, retval, "while closing database");
exit(1);
}
+ krb5_free_keyblock_contents(context, &master_keyblock);
if (str_master_princ) {
krb5_free_unparsed_name(context, str_master_princ);
@@ -452,5 +453,6 @@
mblock.mkvno = master_entry->key_data[0].key_data_kvno;
krb5_db_free_principal(context, master_entry);
+ free(args[0]);
return 0;
}
More information about the cvs-krb5
mailing list