[Pkg-telepathy-commits] [libnice] 109/265: component: Don't free the nice socket before detaching it

Simon McVittie smcv at debian.org
Wed May 14 12:04:58 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository libnice.

commit 47d3354d4a02867dbbfb57699e27cefd3e494fbc
Author: Olivier Crête <olivier.crete at collabora.com>
Date:   Thu Jan 30 18:19:19 2014 -0500

    component: Don't free the nice socket before detaching it
---
 agent/component.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/libnice.git



More information about the Pkg-telepathy-commits mailing list