aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Meeks <michael@helixcode.com>2000-07-15 02:29:13 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-07-15 02:29:13 +0800
commit057b88f12e58b1a5a969b6ac7af592b1a93e5dcc (patch)
treea437908d6870c3b7ba9d9ecf0a7b6705b1de2698
parent0a508d6db815d9df70557c27cfb916385712135b (diff)
downloadgsoc2013-evolution-057b88f12e58b1a5a969b6ac7af592b1a93e5dcc.tar.gz
gsoc2013-evolution-057b88f12e58b1a5a969b6ac7af592b1a93e5dcc.tar.zst
gsoc2013-evolution-057b88f12e58b1a5a969b6ac7af592b1a93e5dcc.zip
g_free things we g_malloc.
2000-07-14 Michael Meeks <michael@helixcode.com> * e-table-subset.c (etss_destroy): g_free things we g_malloc. svn path=/trunk/; revision=4167
-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);
}