From: Arun Raghavan Date: Fri, 5 Dec 2014 07:42:59 +0000 (+0530) Subject: intervideosrc: Fix a memory leak X-Git-Tag: 1.19.3~507^2~9791 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=226a4fcea39a30cb1c5ca56a720fd0267ca3d0b9;p=platform%2Fupstream%2Fgstreamer.git intervideosrc: Fix a memory leak Frees the source ARGB black frame that we use to create the black frame in our target format. --- diff --git a/gst/inter/gstintervideosrc.c b/gst/inter/gstintervideosrc.c index 8c24b0760a..3bab9f832a 100644 --- a/gst/inter/gstintervideosrc.c +++ b/gst/inter/gstintervideosrc.c @@ -243,6 +243,7 @@ gst_inter_video_src_set_caps (GstBaseSrc * base, GstCaps * caps) gst_video_converter_free (converter); gst_video_frame_unmap (&src_frame); gst_video_frame_unmap (&dest_frame); + gst_buffer_unref (src); intervideosrc->black_frame = dest; return TRUE;