Commit ba4bb0fa authored by Peter Kjellerstedt's avatar Peter Kjellerstedt Committed by Wim Taymans

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.
parent 74e51721
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):
common @ ea5f2cfa
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);
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment