[Bug 757022] pnm: Implementation of GRAY16 handling

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun May 15 16:03:32 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=757022

--- Comment #4 from Jan Schmidt <thaytan at noraisin.net> ---
Review of attachment 313941:
 --> (https://bugzilla.gnome.org/review?bug=757022&attachment=313941)

::: gst/pnm/gstpnmenc.c
@@ +248,3 @@
   if (gst_buffer_map (frame->output_buffer, &omap, GST_MAP_WRITE) == FALSE) {
     ret = GST_FLOW_ERROR;
+    g_free (header);

This is freed already at the done: label

@@ +254,3 @@
     /* Unmap already mapped buffer */
     gst_buffer_unmap (frame->output_buffer, &omap);
+    g_free (header);

Same here.

@@ +371,3 @@
   gst_buffer_unmap (frame->output_buffer, &omap);
   gst_buffer_unmap (frame->input_buffer, &imap);
+  g_free (header);

and here.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list