diff --git a/src/examples/video-play.c b/src/examples/video-play.c index 50b1fa3d1..0752b9fd8 100644 --- a/src/examples/video-play.c +++ b/src/examples/video-play.c @@ -261,5 +261,9 @@ int main(int argc, char *argv[]) pw_stream_destroy(data.stream); pw_main_loop_destroy(data.loop); + SDL_DestroyTexture(data.texture); + SDL_DestroyRenderer(data.renderer); + SDL_DestroyWindow(data.window); + return 0; }