mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
gst-libs/gst/rtsp/gstrtspconnection.c: Close control sockets. Fixes #503440.
Original commit message from CVS: Patch by: Peter Kjellerstedt <pkj at axis com> * gst-libs/gst/rtsp/gstrtspconnection.c: (gst_rtsp_connection_free): Close control sockets. Fixes #503440.
This commit is contained in:
parent
74e5172181
commit
ba4bb0fa8c
3 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2007-12-13 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
Patch by: Peter Kjellerstedt <pkj at axis com>
|
||||||
|
|
||||||
|
* gst-libs/gst/rtsp/gstrtspconnection.c:
|
||||||
|
(gst_rtsp_connection_free):
|
||||||
|
Close control sockets. Fixes #503440.
|
||||||
|
|
||||||
2007-12-13 Wim Taymans <wim.taymans@collabora.co.uk>
|
2007-12-13 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
* gst/playback/gstdecodebin2.c: (analyze_new_pad), (connect_pad):
|
* gst/playback/gstdecodebin2.c: (analyze_new_pad), (connect_pad):
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit fb7ab03319930496e922173d54f6dfccfff6f357
|
Subproject commit ea5f2cfab1a164a5d285fe745343cbe0a476a904
|
|
@ -1163,6 +1163,10 @@ gst_rtsp_connection_free (GstRTSPConnection * conn)
|
||||||
|
|
||||||
g_return_val_if_fail (conn != NULL, GST_RTSP_EINVAL);
|
g_return_val_if_fail (conn != NULL, GST_RTSP_EINVAL);
|
||||||
|
|
||||||
|
if (WRITE_SOCKET (conn) >= 0)
|
||||||
|
CLOSE_SOCKET (WRITE_SOCKET (conn));
|
||||||
|
if (READ_SOCKET (conn) >= 0)
|
||||||
|
CLOSE_SOCKET (READ_SOCKET (conn));
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
WSACleanup ();
|
WSACleanup ();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue