diff options
Diffstat (limited to 'e-util/e-list.c')
-rw-r--r-- | e-util/e-list.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/e-util/e-list.c b/e-util/e-list.c index 64ccea728c..ba5c0f8df0 100644 --- a/e-util/e-list.c +++ b/e-util/e-list.c @@ -170,7 +170,8 @@ static void e_list_destroy (GtkObject *object) { EList *list = E_LIST(object); - g_list_foreach(list->list, (GFunc) list->free, list->closure); + if (list->free) + g_list_foreach(list->list, (GFunc) list->free, list->closure); g_list_free(list->list); if (GTK_OBJECT_CLASS (parent_class)->destroy) |