SDL: testasyncio: fix double free

From 6249a48dc6e2e9ecae21bc8fad18892e0e6f552a Mon Sep 17 00:00:00 2001
From: capehill <[EMAIL REDACTED]>
Date: Mon, 2 Nov 2026 21:30:27 +0200
Subject: [PATCH] testasyncio: fix double free

---
 test/testasyncio.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/test/testasyncio.c b/test/testasyncio.c
index 7b5a7fa1bcf3d..d886be9d91767 100644
--- a/test/testasyncio.c
+++ b/test/testasyncio.c
@@ -47,9 +47,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
                 NULL,
             };
             SDLTest_CommonLogUsage(state, argv[0], options);
-            SDL_Quit();
-            SDLTest_CommonDestroyState(state);
-            return 1;
+            return SDL_APP_FAILURE;
         }
         i += consumed;
     }