aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/e-reflow.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/misc/e-reflow.c b/widgets/misc/e-reflow.c
index 8b7e8dc567..cacf3848ba 100644
--- a/widgets/misc/e-reflow.c
+++ b/widgets/misc/e-reflow.c
@@ -773,7 +773,10 @@ e_reflow_dispose (GObject *object)
g_free(reflow->empty_message);
reflow->empty_message = NULL;
- g_object_unref (reflow->sorter);
+ if (reflow->sorter) {
+ g_object_unref (reflow->sorter);
+ reflow->sorter = NULL;
+ }
G_OBJECT_CLASS(parent_class)->dispose (object);
}