[Bug 727231] rtsp-server: The media streams leak

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 2 01:50:46 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=727231
  GStreamer | gst-rtsp-server | git

--- Comment #2 from Linus Svensson <linus.svensson at axis.com> 2014-04-02 08:50:41 UTC ---
Created an attachment (id=273454)
 View: https://bugzilla.gnome.org/attachment.cgi?id=273454
 Review: https://bugzilla.gnome.org/review?bug=727231&attachment=273454

Unblock the stream objects in unprepare

Extended the unit test to also test with a live media.

When running the unit tests without the change in rtsp-media.c, it is obvious
that the stream objects are not freed. Valgrind does, however, not complain
about any leaks. I suspect that the reason is that the stream object holds a
reference to the src pad and the src pad holds a reference to the stream
object.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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