Fix thread context leak on non-Vita platforms
This commit is contained in:
+1
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user