diff --git a/lib/krb5/test_crypto.c b/lib/krb5/test_crypto.c index 07a4d74e2..672a20388 100644 --- a/lib/krb5/test_crypto.c +++ b/lib/krb5/test_crypto.c @@ -83,6 +83,7 @@ time_encryption(krb5_context context, size_t size, etype_name, (unsigned long)size, iterations, (long)tv2.tv_sec, (long)tv2.tv_usec); + free(buf); krb5_crypto_destroy(context, crypto); krb5_free_keyblock_contents(context, &key); }