From 2c4a14f7c7a55229acadb52d22239ad693441632 Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Wed, 11 Nov 2015 16:06:25 +0900 Subject: [PATCH] tests:glcolorconvert: Fix caps memory leak Output caps being got from video info is not getting freed https://bugzilla.gnome.org/show_bug.cgi?id=757929 --- tests/check/libs/gstglcolorconvert.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/check/libs/gstglcolorconvert.c b/tests/check/libs/gstglcolorconvert.c index aa927af896..7ebf6f0f28 100644 --- a/tests/check/libs/gstglcolorconvert.c +++ b/tests/check/libs/gstglcolorconvert.c @@ -204,6 +204,7 @@ check_conversion (TestFrame * frames, guint size) } } + gst_caps_unref (out_caps); gst_video_frame_unmap (&out_frame); gst_buffer_unref (outbuf); }