aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set-view.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-12 03:02:16 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-12 03:02:16 +0800
commit0ebdf5ad6377cfcfd9216b19020505c65d891dde (patch)
treeba5ebee80e37df45b0a6fb29df80497795b86576 /shell/e-storage-set-view.c
parentba61233a0c4f67e607c8ca5f545b135bdf57f88e (diff)
downloadgsoc2013-evolution-0ebdf5ad6377cfcfd9216b19020505c65d891dde.tar.gz
gsoc2013-evolution-0ebdf5ad6377cfcfd9216b19020505c65d891dde.tar.zst
gsoc2013-evolution-0ebdf5ad6377cfcfd9216b19020505c65d891dde.zip
(impl_finalize): Protect against
priv->checkboxes being NULL. svn path=/trunk/; revision=18701
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r--shell/e-storage-set-view.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index 6e910b37ab..374154f01c 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -882,8 +882,10 @@ impl_finalize (GObject *object)
g_hash_table_foreach (priv->type_name_to_pixbuf, pixbuf_free_func, NULL);
g_hash_table_destroy (priv->type_name_to_pixbuf);
- g_hash_table_foreach (priv->checkboxes, (GHFunc) g_free, NULL);
- g_hash_table_destroy (priv->checkboxes);
+ if (priv->checkboxes != NULL) {
+ g_hash_table_foreach (priv->checkboxes, (GHFunc) g_free, NULL);
+ g_hash_table_destroy (priv->checkboxes);
+ }
if (priv->drag_corba_source_context != NULL)
CORBA_free (priv->drag_corba_source_context);