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:
Peter Kjellerstedt 2007-12-13 15:54:00 +00:00 committed by Wim Taymans
parent 74e5172181
commit ba4bb0fa8c
3 changed files with 13 additions and 1 deletions

View file

@ -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>
* gst/playback/gstdecodebin2.c: (analyze_new_pad), (connect_pad):

2
common

@ -1 +1 @@
Subproject commit fb7ab03319930496e922173d54f6dfccfff6f357
Subproject commit ea5f2cfab1a164a5d285fe745343cbe0a476a904

View file

@ -1163,6 +1163,10 @@ gst_rtsp_connection_free (GstRTSPConnection * conn)
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
WSACleanup ();
#endif