aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table')
-rw-r--r--widgets/e-table/ChangeLog5
-rw-r--r--widgets/e-table/e-cell-text.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index adeb77e1c1..ec6de3534b 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-07 <toshok@the-dot-in.helixcode.com>
+
+ * e-cell-text.c (ect_draw): free cell.starting_text here to avoid
+ a memory leak.
+
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* e-table.c: Add a horizontal scrollbar.
diff --git a/widgets/e-table/e-cell-text.c b/widgets/e-table/e-cell-text.c
index b6c7d9a150..8e24cc98ed 100644
--- a/widgets/e-table/e-cell-text.c
+++ b/widgets/e-table/e-cell-text.c
@@ -602,6 +602,7 @@ ect_draw (ECellView *ecell_view, GdkDrawable *drawable,
ypos += height;
lines++;
unref_lines (&cell);
+ g_free (cell.starting_text);
}
gdk_gc_set_clip_rectangle (text_view->gc, NULL);