aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-storage-set-view.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 0641fe6c09..f2b82225fb 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2002-11-11 Ettore Perazzoli <ettore@ximian.com>
+ * e-storage-set-view.c (impl_finalize): Protect against
+ priv->checkboxes being NULL.
+
+2002-11-11 Ettore Perazzoli <ettore@ximian.com>
+
* e-component-registry.c: Make separate dispose/finalize overrides
of just overriding destroy.
* e-corba-config-page.c: Likewise.
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);