From: Olivier Crête Date: Mon, 11 Aug 2014 18:12:53 +0000 (-0400) Subject: component: Fix ref leak X-Git-Tag: 0.1.8~107 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a662be4d15b53f5aa1a23e003aec5f95fb261ae3;p=platform%2Fupstream%2Flibnice.git component: Fix ref leak --- diff --git a/agent/component.c b/agent/component.c index 93b60d4..57282ae 100644 --- a/agent/component.c +++ b/agent/component.c @@ -1003,6 +1003,7 @@ component_source_prepare (GSource *source, gint *timeout_) done: agent_unlock_and_emit (agent); + g_object_unref (agent); /* We can’t be sure if the ComponentSource itself needs to be dispatched until * poll() is called on all the child sources. */