From 2b44052f800b82baf5ba722c4bd6f305fc0f655a Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Fri, 15 Dec 2017 11:12:02 +0100 Subject: [PATCH] Destroy condition variable on frames destruction A condition variable was init for the "struct frames", but was never destroyed. --- app/src/frames.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/frames.c b/app/src/frames.c index ea2e2daf..f64e8e03 100644 --- a/app/src/frames.c +++ b/app/src/frames.c @@ -37,6 +37,7 @@ error_0: void frames_destroy(struct frames *frames) { SDL_DestroyMutex(frames->mutex); + SDL_DestroyCond(frames->rendering_frame_consumed_cond); av_frame_free(&frames->rendering_frame); av_frame_free(&frames->decoding_frame); }