[gstreamer-bugs] [Bug 423700] Multiqueue leaks memory when flushing

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Mar 29 01:05:32 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=423700.

  GStreamer | gstreamer (core) | Ver: 0.10.12




------- Comment #3 from Tommi Myöhänen  2007-03-29 08:03 UTC -------
(In reply to comment #2)
>  - gst_multi_queue_item_destroy() already unrefs item->object, so why
>    the second unref in the patch?

The second unref is meant to free the gst_mini_object i.e. drop the buffer,
assuming it arrived to multiqueue chain with refcount of 1. One might think
that currently gst_multi_queue_item_destroy() only destroys the
GstMultiQueueItem "container" but not the content itself.
gst_multi_queue_item_destroy() is also called in the end of the loop function
when buffers are pushed downstream.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=423700.




More information about the Gstreamer-bugs mailing list