From ae89eab816f2974f1ba9b5bb474a085640ffa4fe Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Wed, 11 Nov 2015 16:06:25 +0900 Subject: 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 3e3007789..2a012638a 100644 --- a/tests/check/libs/gstglcolorconvert.c +++ b/tests/check/libs/gstglcolorconvert.c @@ -203,6 +203,7 @@ check_conversion (TestFrame * frames, guint size) } } + gst_caps_unref (out_caps); gst_video_frame_unmap (&out_frame); gst_buffer_unref (outbuf); } -- cgit v1.2.1