aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-07-15 21:23:07 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-07-15 21:23:07 +0800
commite46012ff782303976a77deb0609472bd2f25fd2c (patch)
treeea4cb7151e4ae66d3ab382cc0655e1669d3ee825
parent9b5fcf29d8257f0a93e977fae7a874a387194e58 (diff)
downloadgsoc2013-empathy-e46012ff782303976a77deb0609472bd2f25fd2c.tar
gsoc2013-empathy-e46012ff782303976a77deb0609472bd2f25fd2c.tar.gz
gsoc2013-empathy-e46012ff782303976a77deb0609472bd2f25fd2c.tar.bz2
gsoc2013-empathy-e46012ff782303976a77deb0609472bd2f25fd2c.tar.lz
gsoc2013-empathy-e46012ff782303976a77deb0609472bd2f25fd2c.tar.xz
gsoc2013-empathy-e46012ff782303976a77deb0609472bd2f25fd2c.tar.zst
gsoc2013-empathy-e46012ff782303976a77deb0609472bd2f25fd2c.zip
Do not call g_array_free if the array is NULL
svn path=/trunk/; revision=1238
-rw-r--r--libempathy/empathy-tp-roomlist.c3
1 files changed, 1 insertions, 2 deletions
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