aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bookmarks/ephy-bookmarks.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 54ba2be15..a33b23320 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -960,7 +960,10 @@ resolver_found_cb (GaServiceResolver *resolver,
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