diff --git a/sys/uvch264/gstuvch264_mjpgdemux.c b/sys/uvch264/gstuvch264_mjpgdemux.c index dfb07758d1..cb2ea2be11 100644 --- a/sys/uvch264/gstuvch264_mjpgdemux.c +++ b/sys/uvch264/gstuvch264_mjpgdemux.c @@ -711,6 +711,8 @@ done: if (jpeg_buf) gst_buffer_unref (jpeg_buf); + gst_buffer_unmap (buf, &info); + /* We must always unref the input buffer since we never push it out */ gst_buffer_unref (buf);