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 (from parent 1:
aa158fa
)
rtsp-client: don't use g_object_unref on GstRTSPSessionMedia
author
David Svensson Fors
<davidsf@axis.com>
Tue, 12 Jun 2012 11:39:35 +0000
(13:39 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 14 Jun 2012 08:14:06 +0000
(10:14 +0200)
GstRTSPSessionMedia is not a GObject type. When the
GstRTSPSession is freed, it will free the media.
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
e35efee
..
a70d388
100644
(file)
--- a/
gst/rtsp-server/rtsp-client.c
+++ b/
gst/rtsp-server/rtsp-client.c
@@
-1019,7
+1019,6
@@
not_found:
no_stream:
{
send_generic_response (client, GST_RTSP_STS_NOT_FOUND, state);
no_stream:
{
send_generic_response (client, GST_RTSP_STS_NOT_FOUND, state);
- g_object_unref (media);
g_object_unref (session);
return FALSE;
}
g_object_unref (session);
return FALSE;
}