(time_encryption): free cleartext buffer

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15595 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-07-08 22:17:33 +00:00
parent 72b81ba03d
commit c69ac762f9

View File

@@ -83,6 +83,7 @@ time_encryption(krb5_context context, size_t size,
etype_name, (unsigned long)size, iterations, etype_name, (unsigned long)size, iterations,
(long)tv2.tv_sec, (long)tv2.tv_usec); (long)tv2.tv_sec, (long)tv2.tv_usec);
free(buf);
krb5_crypto_destroy(context, crypto); krb5_crypto_destroy(context, crypto);
krb5_free_keyblock_contents(context, &key); krb5_free_keyblock_contents(context, &key);
} }