aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/e-table/ChangeLog5
-rw-r--r--widgets/e-table/e-cell-text.c1
-rw-r--r--widgets/table/e-cell-text.c1
3 files changed, 7 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);
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index b6c7d9a150..8e24cc98ed 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/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);