diff options
author | Christian Persch <chpe@src.gnome.org> | 2009-01-14 02:16:34 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2009-01-14 02:16:34 +0800 |
commit | 5512be8b184147803205e0a94647cfd6de1abc34 (patch) | |
tree | b04883b41ea0cf5196b3ca55a3678550c93216cd | |
parent | 1f2c332d0327da86e6b383c67ec45eed7e1c96d2 (diff) | |
download | gsoc2013-epiphany-5512be8b184147803205e0a94647cfd6de1abc34.tar gsoc2013-epiphany-5512be8b184147803205e0a94647cfd6de1abc34.tar.gz gsoc2013-epiphany-5512be8b184147803205e0a94647cfd6de1abc34.tar.bz2 gsoc2013-epiphany-5512be8b184147803205e0a94647cfd6de1abc34.tar.lz gsoc2013-epiphany-5512be8b184147803205e0a94647cfd6de1abc34.tar.xz gsoc2013-epiphany-5512be8b184147803205e0a94647cfd6de1abc34.tar.zst gsoc2013-epiphany-5512be8b184147803205e0a94647cfd6de1abc34.zip |
Check text_table for nullity before unrefing it in resolver_found_cb.
Bug #565452
svn path=/branches/gnome-2-26/; revision=8687
-rw-r--r-- | src/bookmarks/ephy-bookmarks.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c index 15f635add..593cb5ec7 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 |