[goffice] Utils: plug leak.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Utils: plug leak.
- Date: Sun, 16 Mar 2014 03:07:36 +0000 (UTC)
commit 290fd362c9a03915114f1bff3ca9a96def168d63
Author: Morten Welinder <terra gnome org>
Date: Sat Mar 15 14:24:05 2014 -0400
Utils: plug leak.
ChangeLog | 9 +++++++--
NEWS | 1 +
goffice/utils/go-pango-extras.c | 2 +-
3 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index dd35fa6..bd666e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,12 @@
+2014-03-15 Morten Welinder <terra gnome org>
+
+ * goffice/utils/go-pango-extras.c (go_pango_translate_here): Plug
+ leak.
+
2014-03-15 Jean Brefort <jean brefort normalesup org>
- * goffice/canvas/goc-canvas.c (goc_canvas_dispose): fix criticals related
- to style contexts destruction.
+ * goffice/canvas/goc-canvas.c (goc_canvas_dispose): fix criticals
+ related to style contexts destruction.
2014-03-15 Jean Brefort <jean brefort normalesup org>
diff --git a/NEWS b/NEWS
index 38f0267..f7aba04 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,7 @@ Julian Sikorski:
Morten:
* Fix problem saving print settings. [#698630]
+ * Plug leak.
--------------------------------------------------------------------------
goffice 0.10.12:
diff --git a/goffice/utils/go-pango-extras.c b/goffice/utils/go-pango-extras.c
index 8154125..701327d 100644
--- a/goffice/utils/go-pango-extras.c
+++ b/goffice/utils/go-pango-extras.c
@@ -535,7 +535,7 @@ go_pango_translate_here (PangoAttrIterator *state_iter,
double scale = 1.;
int rise = 0;
PangoAttribute *pa;
- PangoFontDescription *desc = pango_font_description_new ();
+ PangoFontDescription *desc;
GSList *the_attrs, *l;
gint range_start, range_end;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]