mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
test: plug leaks of testmouse and testrwlock
This commit is contained in:
committed by
Anonymous Maarten
parent
3ba9bdfc01
commit
17a891daa8
@@ -345,6 +345,11 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
#endif
|
||||
|
||||
while (active) {
|
||||
Object *next = active->next;
|
||||
SDL_free(next);
|
||||
active = next;
|
||||
}
|
||||
SDL_DestroyRenderer(loop_data.renderer);
|
||||
SDL_DestroyWindow(window);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user