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:
f1d074a
)
rtspconnection: Unset input/output_stream after freeing the GIOStream
author
Ognyan Tonchev
<ognyan@axis.com>
Tue, 24 Sep 2013 14:26:37 +0000
(16:26 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Tue, 24 Sep 2013 16:35:14 +0000
(18:35 +0200)
watch->input_stream and watch->output_stream are owned by the GIOStream
and should be unset after freeing the stream.
https://bugzilla.gnome.org/show_bug.cgi?id=708689
gst-libs/gst/rtsp/gstrtspconnection.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/rtsp/gstrtspconnection.c
b/gst-libs/gst/rtsp/gstrtspconnection.c
index
1335756
..
3a76d1b
100644
(file)
--- a/
gst-libs/gst/rtsp/gstrtspconnection.c
+++ b/
gst-libs/gst/rtsp/gstrtspconnection.c
@@
-2037,6
+2037,10
@@
gst_rtsp_connection_close (GstRTSPConnection * conn)
conn->socket1 = NULL;
}
+ /* these were owned by the stream */
+ conn->input_stream = NULL;
+ conn->output_stream = NULL;
+
g_free (conn->remote_ip);
conn->remote_ip = NULL;
g_free (conn->local_ip);