[empathy] log_store_empathy_search_hit_new: don't unref accounts



commit d992856fae759eed04e9ae78e5242259462416f1
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Nov 16 17:19:09 2009 +0000

    log_store_empathy_search_hit_new: don't unref accounts
    
    tp_account_manager_get_valid_accounts does *not* ref the accounts (#600800).

 libempathy/empathy-log-store-empathy.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c
index 8a25df7..2088fca 100644
--- a/libempathy/empathy-log-store-empathy.c
+++ b/libempathy/empathy-log-store-empathy.c
@@ -422,7 +422,6 @@ log_store_empathy_search_hit_new (EmpathyLogStore *self,
           hit->account = account;
           g_object_ref (account);
         }
-      g_object_unref (account);
       g_free (name);
     }
   g_list_free (accounts);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]