aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGustavo Noronha Silva <gns@src.gnome.org>2008-12-24 00:54:12 +0800
committerGustavo Noronha Silva <gns@src.gnome.org>2008-12-24 00:54:12 +0800
commit4965a7adb047016d50a27de7891aca1f2260daa1 (patch)
tree855420b671d83c70a76eda9ff84be42f5ff12d59 /src
parent086140d4b7d8835f4b2928b515a4e3c783b81a50 (diff)
downloadgsoc2013-epiphany-4965a7adb047016d50a27de7891aca1f2260daa1.tar
gsoc2013-epiphany-4965a7adb047016d50a27de7891aca1f2260daa1.tar.gz
gsoc2013-epiphany-4965a7adb047016d50a27de7891aca1f2260daa1.tar.bz2
gsoc2013-epiphany-4965a7adb047016d50a27de7891aca1f2260daa1.tar.lz
gsoc2013-epiphany-4965a7adb047016d50a27de7891aca1f2260daa1.tar.xz
gsoc2013-epiphany-4965a7adb047016d50a27de7891aca1f2260daa1.tar.zst
gsoc2013-epiphany-4965a7adb047016d50a27de7891aca1f2260daa1.zip
Check text_table for nullity before unrefing it in resolver_found_cb.
Bug #565452 svn path=/trunk/; revision=8640
Diffstat (limited to 'src')
-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