GNOME Bugzilla – Bug 596305
call weak-unref on client->sessions from finalize
Last modified: 2010-02-09 10:02:42 UTC
Created attachment 143988 [details] [review] call weak_unref in _finalize on all client's sessions If client_finalize is called (for example a client has disconnected w/o calling TEARDOWN) and later you call gst_rtsp_session_pool_cleanup gst-rtsp-server will segfault because in _finalize the weak ref on the session is not removed.
Just ran into the same problem. Your patch works fine.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Mmmm.. may i ask where have you committed it? i don't see any change here: http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/ Can you point me to the commit? Thank you!
Ooops sorry, i've seen it now :)