From d5f0907f1e62c22d225c9899c847b4ce5ad1e137 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Mon, 4 May 2009 03:06:28 +0200 Subject: Unref the EmpathyFTHandlers Unref EmpathyFTHandler objects after adding them to the manager. --- src/empathy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/empathy.c b/src/empathy.c index b0866340b..d3cc12ca9 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -421,6 +421,8 @@ new_ft_handler_cb (EmpathyFTFactory *factory, ft_manager = empathy_ft_manager_dup_singleton (); empathy_ft_manager_add_handler (ft_manager, handler); + + g_object_unref (handler); } static void -- cgit v1.2.3