]> git.0d.be Git - empathy.git/commitdiff
Do not call g_array_free if the array is NULL
authorXavier Claessens <xclaesse@src.gnome.org>
Tue, 15 Jul 2008 13:23:07 +0000 (13:23 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Tue, 15 Jul 2008 13:23:07 +0000 (13:23 +0000)
svn path=/trunk/; revision=1238

libempathy/empathy-tp-roomlist.c

index b54aec82408cb81051f7c69a94c1ff01a6d2b550..eb87438b5c5c4c7d299e46991fc667a255098709 100644 (file)
@@ -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