tiny fix for broken lowresource build option

This commit is contained in:
jordan
2022-10-11 17:54:42 -05:00
parent 4d37e8d687
commit 06511a0f2e

View File

@@ -32113,7 +32113,11 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
#endif /* WOLFSSL_ASYNC_IO */
/* Final cleanup */
if (args != NULL && args->input != NULL) {
if (
#ifdef WOLFSSL_ASYNC_IO
args != NULL &&
#endif
args->input != NULL) {
XFREE(args->input, ssl->heap, DYNAMIC_TYPE_IN_BUFFER);
args->input = NULL;
}