Fix thread context leak on non-Vita platforms

This commit is contained in:
Cameron Gutman 2026-01-05 00:21:35 -06:00
commit 0586f3d65f

View file

@ -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;