Commit a662be4d authored by Olivier Crête's avatar Olivier Crête

component: Fix ref leak

parent f6b6cfe5
...@@ -1003,6 +1003,7 @@ component_source_prepare (GSource *source, gint *timeout_) ...@@ -1003,6 +1003,7 @@ component_source_prepare (GSource *source, gint *timeout_)
done: done:
agent_unlock_and_emit (agent); agent_unlock_and_emit (agent);
g_object_unref (agent);
/* We can’t be sure if the ComponentSource itself needs to be dispatched until /* We can’t be sure if the ComponentSource itself needs to be dispatched until
* poll() is called on all the child sources. */ * poll() is called on all the child sources. */
......
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