From fd5aba93fb521dc49e47fde9830131aba98cbdf2 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Thu, 9 Jan 2025 10:53:02 -0700 Subject: [PATCH] fix for smallstack build --- src/internal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/internal.c b/src/internal.c index 06b178eca5..f1708d2806 100644 --- a/src/internal.c +++ b/src/internal.c @@ -37896,7 +37896,10 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx, ret = MEMORY_E; goto out; } + #if defined(OPENSSL_EXTRA) + XFREE(ssl->clSuites, ssl->heap, DYNAMIC_TYPE_SUITES); ssl->clSuites = clSuites; + #endif #endif XMEMSET(clSuites, 0, sizeof(Suites)); ato16(&input[i], &clSuites->suiteSz);