From 27cacaaa2e9c905685066c35c8d55f7e23dbceaf Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 19 Sep 2018 15:01:11 +0200 Subject: [PATCH] video-play: free SDL data --- src/examples/video-play.c | 4 ++++ 1 file changed, 4 insertions(+) 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; }