From 0586f3d65f0f7cec20a58d555f3d40debd7c6865 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 5 Jan 2026 00:21:35 -0600 Subject: [PATCH] Fix thread context leak on non-Vita platforms --- src/Platform.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Platform.c b/src/Platform.c index 30ae48b..4d123dc 100644 --- a/src/Platform.c +++ b/src/Platform.c @@ -86,9 +86,7 @@ void* ThreadProc(void* context) { ctx->entry(ctx->context); -#if defined(__vita__) -free(ctx); -#endif + free(ctx); #if defined(LC_WINDOWS) || defined(__vita__) || defined(__WIIU__) || defined(__3DS__) return 0;