projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83ed258
)
client: call unlink_streams in client finalize
author
Luca Ognibene
<luca.ognibene at gmail.com>
Fri, 5 Mar 2010 17:37:17 +0000
(18:37 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 5 Mar 2010 17:37:17 +0000
(18:37 +0100)
Fixes #599027
gst/rtsp-server/rtsp-client.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-client.c
b/gst/rtsp-server/rtsp-client.c
index
67f0037
..
b0e10e3
100644
(file)
--- a/
gst/rtsp-server/rtsp-client.c
+++ b/
gst/rtsp-server/rtsp-client.c
@@
-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);