mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 09:57:40 +00:00
tests: plug leaks when running with --trackmem
(using SDL_VIDEO_DRIVER=x11/wayland on Linux)
This commit is contained in:
parent
f42bbeca24
commit
2a01f9dcb5
11 changed files with 93 additions and 97 deletions
|
@ -212,6 +212,12 @@ int main(int argc, char *argv[])
|
|||
MoveSprites(renderer, sprite);
|
||||
}
|
||||
|
||||
SDL_DestroyTexture(sprite);
|
||||
SDL_DestroyRenderer(renderer);
|
||||
SDL_DestroyWindow(window);
|
||||
SDL_free(positions);
|
||||
SDL_free(velocities);
|
||||
|
||||
quit(0);
|
||||
|
||||
return 0; /* to prevent compiler warning */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue