From 06511a0f2e75afb4f34e6b998c4ae6cafc0beed5 Mon Sep 17 00:00:00 2001 From: jordan Date: Tue, 11 Oct 2022 17:54:42 -0500 Subject: [PATCH] tiny fix for broken lowresource build option --- src/internal.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 44fbceaab..9793bf899 100644 --- a/src/internal.c +++ b/src/internal.c @@ -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; }