test.c: fix gating on heap deallocation in hc128_test() to match earlier tweak to gating on allocation.

This commit is contained in:
Daniel Pouzzner
2020-09-02 16:00:17 -05:00
parent b52d50d903
commit dc4b15a265

View File

@ -4436,7 +4436,7 @@ static int hc128_test(void)
out:
#ifndef WOLFSSL_NO_MALLOC
#if defined(WOLFSSL_SMALL_STACK) && !defined(WOLFSSL_NO_MALLOC)
if (enc)
XFREE(enc, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
if (dec)