aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/e-table/ChangeLog4
-rw-r--r--widgets/e-table/e-table-item.c2
-rw-r--r--widgets/table/e-table-item.c2
3 files changed, 8 insertions, 0 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index 52157a003e..6d2a63fc3a 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,5 +1,9 @@
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
+ * e-table-item.c: Fixed a memory leak.
+
+2000-05-16 Christopher James Lahey <clahey@helixcode.com>
+
* e-table-sorted-variable.c: Changed sorting to be at priority
level 30.
diff --git a/widgets/e-table/e-table-item.c b/widgets/e-table/e-table-item.c
index 560cb4affe..39af0e5193 100644
--- a/widgets/e-table/e-table-item.c
+++ b/widgets/e-table/e-table-item.c
@@ -689,6 +689,8 @@ eti_destroy (GtkObject *object)
if (eti->height_cache_idle_id)
g_source_remove(eti->height_cache_idle_id);
+ g_free (eti->height_cache);
+
if (GTK_OBJECT_CLASS (eti_parent_class)->destroy)
(*GTK_OBJECT_CLASS (eti_parent_class)->destroy) (object);
}
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 560cb4affe..39af0e5193 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -689,6 +689,8 @@ eti_destroy (GtkObject *object)
if (eti->height_cache_idle_id)
g_source_remove(eti->height_cache_idle_id);
+ g_free (eti->height_cache);
+
if (GTK_OBJECT_CLASS (eti_parent_class)->destroy)
(*GTK_OBJECT_CLASS (eti_parent_class)->destroy) (object);
}