diff options
author | Hiroyuki Ikezoe <poincare@ikezoe.net> | 2007-07-26 20:30:30 +0800 |
---|---|---|
committer | Hiroyuki Ikezoe <hiikezoe@src.gnome.org> | 2007-07-26 20:30:30 +0800 |
commit | de6cb9b637c288797fc5a1c51b9020b1b017df2e (patch) | |
tree | dfd519fbb3b00b35e7768f730126a006d537c331 /widgets/text | |
parent | 81a1525568ec94fd82b55e2d74510ec8c8fcdb5f (diff) | |
download | gsoc2013-evolution-de6cb9b637c288797fc5a1c51b9020b1b017df2e.tar gsoc2013-evolution-de6cb9b637c288797fc5a1c51b9020b1b017df2e.tar.gz gsoc2013-evolution-de6cb9b637c288797fc5a1c51b9020b1b017df2e.tar.bz2 gsoc2013-evolution-de6cb9b637c288797fc5a1c51b9020b1b017df2e.tar.lz gsoc2013-evolution-de6cb9b637c288797fc5a1c51b9020b1b017df2e.tar.xz gsoc2013-evolution-de6cb9b637c288797fc5a1c51b9020b1b017df2e.tar.zst gsoc2013-evolution-de6cb9b637c288797fc5a1c51b9020b1b017df2e.zip |
Plugged memory leak.
2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net>
* text/e-text.c: (e_text_dispose): Plugged memory leak.
svn path=/trunk/; revision=33848
Diffstat (limited to 'widgets/text')
-rw-r--r-- | widgets/text/e-text.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index e1ce88ebd6..c523548765 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -272,6 +272,11 @@ e_text_dispose (GObject *object) text->im_context = NULL; } + if (text->font_desc) { + pango_font_description_free (text->font_desc); + text->font_desc = NULL; + } + if (G_OBJECT_CLASS (parent_class)->dispose) (* G_OBJECT_CLASS (parent_class)->dispose) (object); } |