mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-22 08:08:14 +00:00
Fix thread context leak on non-Vita platforms
This commit is contained in:
1 parent
b126e481a1
commit
0586f3d65f
1 file changed
+1
-3
+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