Try to not leak memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18809 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -163,7 +163,8 @@ test_memory_keytab(krb5_context context, const char *keytab, const char *keytab2
|
||||
if (ret)
|
||||
krb5_err(context, 1, ret, "krb5_kt_close");
|
||||
|
||||
|
||||
krb5_free_principal(context, entry3.principal);
|
||||
krb5_free_keyblock_contents(context, &entry3.keyblock);
|
||||
}
|
||||
|
||||
int
|
||||
|
Reference in New Issue
Block a user