Commit 61f4fe02 authored by Kai Vehmanen's avatar Kai Vehmanen

Fixed a severe bug in cleaning up component resources.

darcs-hash:20070717180932-77cd4-49fd0ea025109cbbf81b1b6817f532ad3a26b1de.gz
parent a1862cc2
......@@ -23,6 +23,7 @@
*
* Contributors:
* Dafydd Harries, Collabora Ltd.
* Kai Vehmanen, Nokia
*
* Alternatively, the contents of this file may be used under the terms of the
* the GNU Lesser General Public License Version 2.1 (the "LGPL"), in which
......@@ -77,6 +78,7 @@ component_free (Component *cmp)
for (i = cmp->sockets; i; i = i->next) {
NiceUDPSocket *udpsocket = i->data;
nice_udp_socket_close (udpsocket);
g_slice_free (NiceUDPSocket, udpsocket);
}
for (i = cmp->gsources; i; i = i->next) {
......
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