From ac9394de294790abed088e461c52aec3c930e3f3 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 25 Sep 2012 14:18:35 +0200 Subject: videomixer: Fix leak --- gst/videomixer/videomixer2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c index 98a3312dc..95c8f216e 100644 --- a/gst/videomixer/videomixer2.c +++ b/gst/videomixer/videomixer2.c @@ -270,6 +270,7 @@ gst_videomixer2_update_src_caps (GstVideoMixer2 * mix) gst_structure_get_fraction (s, "fraction", &info.fps_n, &info.fps_d); } + gst_caps_unref (caps); caps = gst_video_info_to_caps (&info); GST_VIDEO_MIXER2_UNLOCK (mix); -- cgit v1.2.3