[Bug 754212] cutter: Fix buffer leak
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Oct 2 07:37:06 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=754212
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #310156|accepted-commit_after_freez |needs-work
status|e |
--- Comment #6 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 310156:
--> (https://bugzilla.gnome.org/review?bug=754212&attachment=310156)
::: gst/cutter/gstcutter.c
@@ +251,3 @@
+ switch (transition) {
+ case GST_STATE_CHANGE_PAUSED_TO_READY:
+ g_list_free_full (filter->pre_buffer, (GDestroyNotify)
gst_buffer_unref);
You should set the list to NULL after 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