Match WSAStartup and WSACleanup correctly
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 24 Feb 2009 11:11:00 +0000 (12:11 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 24 Feb 2009 11:11:00 +0000 (12:11 +0100)
commitbb5e2d3f56a994b42a84678661bbc097709c890b
tree34a6f9d58237675dab18a546c04930902684b4f7
parentbbd66c6bafe8bfc67ecf7d947d868275e3db4133
Match WSAStartup and WSACleanup correctly

Don't randomly call WSAStartup and WSACleanup but instead call the startup when
we create a connection and cleanup when we free it again. Because the internal
datastructure is refcounted, this should not cause any refcounting leaks when
the connection is managed correctly.
Fixes #562794.
gst-libs/gst/rtsp/gstrtspconnection.c