aboutsummaryrefslogtreecommitdiffstats
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
parent608783a45d9b85133e0302a915add2708ba9bbc4 (diff)
downloadgsoc2013-evolution-87eebb44a10e298bde27803b20a2b95d1402a886.tar
gsoc2013-evolution-87eebb44a10e298bde27803b20a2b95d1402a886.tar.gz
gsoc2013-evolution-87eebb44a10e298bde27803b20a2b95d1402a886.tar.bz2
gsoc2013-evolution-87eebb44a10e298bde27803b20a2b95d1402a886.tar.lz
gsoc2013-evolution-87eebb44a10e298bde27803b20a2b95d1402a886.tar.xz
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
-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);