empathy r1238 - trunk/libempathy



Author: xclaesse
Date: Tue Jul 15 13:23:07 2008
New Revision: 1238
URL: http://svn.gnome.org/viewvc/empathy?rev=1238&view=rev

Log:
Do not call g_array_free if the array is NULL


Modified:
   trunk/libempathy/empathy-tp-roomlist.c

Modified: trunk/libempathy/empathy-tp-roomlist.c
==============================================================================
--- trunk/libempathy/empathy-tp-roomlist.c	(original)
+++ trunk/libempathy/empathy-tp-roomlist.c	Tue Jul 15 13:23:07 2008
@@ -169,9 +169,8 @@
 						       chatrooms,
 						       tp_roomlist_chatrooms_free,
 						       list);
+		g_array_free (handles, TRUE);
 	}
-
-	g_array_free (handles, TRUE);
 }
 
 static void



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