diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-05-16 21:01:57 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-05-16 21:01:57 +0800 |
commit | 54c5a28100b2e35d4036f44316d50e1dac338a9c (patch) | |
tree | c9f31618eb4e1f7756a58aa5fb7a05cb0f2a852f | |
parent | ccb35fc22778b540fc763adcc24615ea3470ecd5 (diff) | |
download | gsoc2013-evolution-54c5a28100b2e35d4036f44316d50e1dac338a9c.tar gsoc2013-evolution-54c5a28100b2e35d4036f44316d50e1dac338a9c.tar.gz gsoc2013-evolution-54c5a28100b2e35d4036f44316d50e1dac338a9c.tar.bz2 gsoc2013-evolution-54c5a28100b2e35d4036f44316d50e1dac338a9c.tar.lz gsoc2013-evolution-54c5a28100b2e35d4036f44316d50e1dac338a9c.tar.xz gsoc2013-evolution-54c5a28100b2e35d4036f44316d50e1dac338a9c.tar.zst gsoc2013-evolution-54c5a28100b2e35d4036f44316d50e1dac338a9c.zip |
Fixed a memory leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* e-table-item.c: Fixed a memory leak.
svn path=/trunk/; revision=3089
-rw-r--r-- | widgets/e-table/ChangeLog | 4 | ||||
-rw-r--r-- | widgets/e-table/e-table-item.c | 2 | ||||
-rw-r--r-- | widgets/table/e-table-item.c | 2 |
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); } |