[Bug 772497] waveform : Fix Memory leak by gst_caps_to_string

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Oct 6 10:26:08 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #337038|none                        |needs-work
             status|                            |

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 337038:
 --> (https://bugzilla.gnome.org/review?bug=772497&attachment=337038)

::: sys/waveform/gstwaveformsink.c
@@ +327,3 @@
   GST_CAT_LOG_OBJECT (waveformsink_debug, wfsink, "Returning caps %s",
+      caps_str);
+  g_free (caps_str);

Use GST_PTR_FORMAT here instead of manually converting to string & freeing

-- 
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