From e686f1b62823338324b35e971e3b86cac4b75cdc Mon Sep 17 00:00:00 2001 From: Ponnam Srinivas Date: Thu, 28 Sep 2017 16:20:53 +0530 Subject: [PATCH] glfilter: Unmap video frame in error case https://bugzilla.gnome.org/show_bug.cgi?id=788194 --- gst-libs/gst/gl/gstglfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglfilter.c b/gst-libs/gst/gl/gstglfilter.c index 15f7b614e3..5c9e140fda 100644 --- a/gst-libs/gst/gl/gstglfilter.c +++ b/gst-libs/gst/gl/gstglfilter.c @@ -926,7 +926,7 @@ gst_gl_filter_filter_texture (GstGLFilter * filter, GstBuffer * inbuf, if (!gst_is_gl_memory (in_tex)) { ret = FALSE; GST_ERROR_OBJECT (filter, "Input memory must be GstGLMemory"); - goto inbuf_error; + goto unmap_out_error; } if (!gst_video_frame_map (&out_frame, &filter->out_info, outbuf,