aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-cell-text.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@src.gnome.org>2000-05-08 11:35:52 +0800
committerChris Toshok <toshok@src.gnome.org>2000-05-08 11:35:52 +0800
commit87eebb44a10e298bde27803b20a2b95d1402a886 (patch)
tree0fcb13bcd5ba4f8c2eb56c22d4735472c26b1a04 /widgets/e-table/e-cell-text.c
parent608783a45d9b85133e0302a915add2708ba9bbc4 (diff)
downloadgsoc2013-evolution-87eebb44a10e298bde27803b20a2b95d1402a886.tar.gz
gsoc2013-evolution-87eebb44a10e298bde27803b20a2b95d1402a886.tar.zst
gsoc2013-evolution-87eebb44a10e298bde27803b20a2b95d1402a886.zip
free cell.starting_text here to avoid a memory leak.
* e-cell-text.c (ect_draw): free cell.starting_text here to avoid a memory leak. svn path=/trunk/; revision=2898
Diffstat (limited to 'widgets/e-table/e-cell-text.c')
-rw-r--r--widgets/e-table/e-cell-text.c1
1 files changed, 1 insertions, 0 deletions
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);