epiphany r8687 - branches/gnome-2-26/src/bookmarks



Author: chpe
Date: Tue Jan 13 18:16:34 2009
New Revision: 8687
URL: http://svn.gnome.org/viewvc/epiphany?rev=8687&view=rev

Log:
Check text_table for nullity before unrefing it in resolver_found_cb.

Bug #565452

Modified:
   branches/gnome-2-26/src/bookmarks/ephy-bookmarks.c

Modified: branches/gnome-2-26/src/bookmarks/ephy-bookmarks.c
==============================================================================
--- branches/gnome-2-26/src/bookmarks/ephy-bookmarks.c	(original)
+++ branches/gnome-2-26/src/bookmarks/ephy-bookmarks.c	Tue Jan 13 18:16:34 2009
@@ -960,7 +960,10 @@
 	
 	ephy_node_db_set_immutable (priv->db, was_immutable);
 
-	g_hash_table_unref (text_table);
+	if (text_table != NULL)
+	{
+		g_hash_table_unref (text_table);
+	}
 }
 
 static void



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