aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/e-table/ChangeLog4
-rw-r--r--widgets/e-table/e-table-subset.c3
-rw-r--r--widgets/table/e-table-subset.c3
3 files changed, 6 insertions, 4 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index 4c58c51796..15782bb22b 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-14 Michael Meeks <michael@helixcode.com>
+
+ * e-table-subset.c (etss_destroy): g_free things we g_malloc.
+
2000-07-13 Christopher James Lahey <clahey@helixcode.com>
* e-table-header-item.c: Changed the background color of the
diff --git a/widgets/e-table/e-table-subset.c b/widgets/e-table/e-table-subset.c
index eb08ca0890..7da6b0c1b8 100644
--- a/widgets/e-table/e-table-subset.c
+++ b/widgets/e-table/e-table-subset.c
@@ -36,8 +36,7 @@ etss_destroy (GtkObject *object)
etss->table_model_row_changed_id = 0;
etss->table_model_cell_changed_id = 0;
- if (etss->map_table)
- free (etss->map_table);
+ g_free (etss->map_table);
GTK_OBJECT_CLASS (etss_parent_class)->destroy (object);
}
diff --git a/widgets/table/e-table-subset.c b/widgets/table/e-table-subset.c
index eb08ca0890..7da6b0c1b8 100644
--- a/widgets/table/e-table-subset.c
+++ b/widgets/table/e-table-subset.c
@@ -36,8 +36,7 @@ etss_destroy (GtkObject *object)
etss->table_model_row_changed_id = 0;
etss->table_model_cell_changed_id = 0;
- if (etss->map_table)
- free (etss->map_table);
+ g_free (etss->map_table);
GTK_OBJECT_CLASS (etss_parent_class)->destroy (object);
}