test.c: missed a _SMALL_STACK spot in rsa_ecc_certgen_test().

This commit is contained in:
Daniel Pouzzner
2020-09-04 10:41:35 -05:00
parent 5bfb5a3a83
commit 447a238e8e

View File

@@ -12975,8 +12975,10 @@ exit_rsa:
wc_ecc_free(caEccKeyPub);
XFREE(caEccKeyPub, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
}
#ifdef WOLFSSL_TEST_CERT
if (decode != NULL)
XFREE(decode, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
#endif
#else
wc_FreeRsaKey(caKey);
wc_ecc_free(caEccKey);