epiphany r8640 - trunk/src/bookmarks



Author: gns
Date: Tue Dec 23 16:54:12 2008
New Revision: 8640
URL: http://svn.gnome.org/viewvc/epiphany?rev=8640&view=rev

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

Bug #565452

Modified:
   trunk/src/bookmarks/ephy-bookmarks.c

Modified: trunk/src/bookmarks/ephy-bookmarks.c
==============================================================================
--- trunk/src/bookmarks/ephy-bookmarks.c	(original)
+++ trunk/src/bookmarks/ephy-bookmarks.c	Tue Dec 23 16:54:12 2008
@@ -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]