[gstreamer-bugs] [Bug 577318] rtspsrc appears to be leaking memory

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed May 13 02:33:33 PDT 2009


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

  GStreamer | gst-plugins-good | Ver: git




------- Comment #17 from Patrick Radizi  2009-05-13 09:33 UTC -------
I have found the leak that appears when streaming against the same server all
the time. It's the server messages that are not being freed when using UDP. 

The Message was declared and initialized in the same inner loop as the call to
gst_rtspsrc_connection_receive() which is supposed to free the previous
received message. Moving the declaration solves the leak.

I also added some additional message unset for some of the error cases.

I have made a 24h test and so far, with this fix, it appers to not leak any
more.

Note, my patch in Comment #15-16 can be dismissed. That was no leak.


-- 
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=577318.




More information about the Gstreamer-bugs mailing list