From 418e63e448d0e37fd77643689397ed76b542fcfe 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 d851779e6..5f5061cac 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);