Skip to content

Display and control your Android device

Destroy condition variable on frames destruction

Romain Vimont2b44052f800b
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);
}