diff options
-rw-r--r-- | agent/agent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/agent.c b/agent/agent.c index b232690..d383e8d 100644 --- a/agent/agent.c +++ b/agent/agent.c @@ -2186,6 +2186,7 @@ _tcp_sock_is_writable (NiceSocket *sock, gpointer user_data) if (component->selected_pair.local == NULL || !nice_socket_is_based_on (component->selected_pair.local->sockptr, sock)) { agent_unlock (agent); + g_object_unref (agent); return; } |