--- gst-plugins-bad-1.1.2/sys/uvch264/gstuvch264_mjpgdemux.c	2013-04-23 08:38:28.000000000 -0400
+++ gst-plugins-bad-1.1.2.new/sys/uvch264/gstuvch264_mjpgdemux.c	2013-07-26 14:22:51.177762515 -0400
@@ -711,6 +711,8 @@
   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);
 
