examples: add cleanup

This commit is contained in:
Wim Taymans 2020-06-03 16:51:17 +02:00
parent 6d0fd7b58c
commit 3060c57ba6
2 changed files with 13 additions and 2 deletions

View file

@ -475,6 +475,7 @@ int main(int argc, char *argv[])
SDL_DestroyTexture(data.cursor);
SDL_DestroyRenderer(data.renderer);
SDL_DestroyWindow(data.window);
pw_deinit();
return 0;
}