From e46012ff782303976a77deb0609472bd2f25fd2c Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 15 Jul 2008 13:23:07 +0000 Subject: Do not call g_array_free if the array is NULL svn path=/trunk/; revision=1238 --- libempathy/empathy-tp-roomlist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libempathy/empathy-tp-roomlist.c') diff --git a/libempathy/empathy-tp-roomlist.c b/libempathy/empathy-tp-roomlist.c index b54aec824..eb87438b5 100644 --- a/libempathy/empathy-tp-roomlist.c +++ b/libempathy/empathy-tp-roomlist.c @@ -169,9 +169,8 @@ tp_roomlist_got_rooms_cb (TpChannel *channel, chatrooms, tp_roomlist_chatrooms_free, list); + g_array_free (handles, TRUE); } - - g_array_free (handles, TRUE); } static void -- cgit v1.2.3