diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-01-30 18:19:19 -0500 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-01-31 01:49:01 -0500 |
commit | 47d3354d4a02867dbbfb57699e27cefd3e494fbc (patch) | |
tree | 70775d9166a8825a5acbddfda14f0dab8ac94e2d /agent | |
parent | 69b876b3ba3fedc4c79a3e03ed39892713e97076 (diff) | |
download | libnice-47d3354d4a02867dbbfb57699e27cefd3e494fbc.tar.gz |
component: Don't free the nice socket before detaching it
Diffstat (limited to 'agent')
-rw-r--r-- | agent/component.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/component.c b/agent/component.c index 1fbe3e3..1b41942 100644 --- a/agent/component.c +++ b/agent/component.c @@ -102,8 +102,8 @@ socket_source_detach (SocketSource *source) static void socket_source_free (SocketSource *source) { - nice_socket_free (source->socket); socket_source_detach (source); + nice_socket_free (source->socket); g_slice_free (SocketSource, source); } |