mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
parent
83ed258684
commit
e19c382bbb
1 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,8 @@ static void gst_rtsp_client_finalize (GObject * obj);
|
|||
static void client_session_finalized (GstRTSPClient * client,
|
||||
GstRTSPSession * session);
|
||||
|
||||
static void unlink_streams (GstRTSPClient * client);
|
||||
|
||||
G_DEFINE_TYPE (GstRTSPClient, gst_rtsp_client, G_TYPE_OBJECT);
|
||||
|
||||
static void
|
||||
|
@ -99,6 +101,8 @@ gst_rtsp_client_finalize (GObject * obj)
|
|||
(GWeakNotify) client_session_finalized, client);
|
||||
}
|
||||
|
||||
unlink_streams (client);
|
||||
|
||||
g_list_free (client->sessions);
|
||||
|
||||
gst_rtsp_connection_free (client->connection);
|
||||
|
|
Loading…
Reference in a new issue