test: plug leaks of testmouse and testrwlock

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2025-11-17 20:00:02 +01:00
1 parent 3ba9bdfc01
commit 17a891daa8
2 files changed
+6

No files matched your search

+1
View File
@@ -166,6 +166,7 @@ int main(int argc, char *argv[])
for (i = 0; i < nb_threads; ++i) {
SDL_WaitThread(threads[i], NULL);
}
SDL_free(threads);
SDL_Log("Reader threads have terminated, quitting!");
SDL_DestroyRWLock(rwlock);