[gnumeric] GUI: Plug leak for ###### cells.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] GUI: Plug leak for ###### cells.
- Date: Fri, 12 Feb 2016 15:47:11 +0000 (UTC)
commit df10b9c1aa35fb54eb0e76c9c5c646ea3a66da93
Author: Morten Welinder <terra gnome org>
Date: Fri Feb 12 10:46:41 2016 -0500
GUI: Plug leak for ###### cells.
ChangeLog | 4 ++++
NEWS | 4 ++--
src/cell-draw.c | 3 +--
3 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6027ba4..f9534b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-02-12 Morten Welinder <terra gnome org>
+
+ * src/cell-draw.c (cell_draw_simplify_attributes): Plug leak.
+
2016-02-10 Morten Welinder <terra gnome org>
* src/gnumeric.css (toolbarzone): Set padding for toolbar children
diff --git a/NEWS b/NEWS
index fa6671f..197b6e9 100644
--- a/NEWS
+++ b/NEWS
@@ -2,9 +2,9 @@ Gnumeric 1.12.28
Morten:
* Fuzzed file fixes. [#761663] [#761727]
- * Plug leak.
+ * Plug leaks.
* Fix problems with ssconvert to lp/cplex formats.
- * Add sensitivity report to solver. (lpsolve only for now.)
+ * Add sensitivity report to solver.
* Fix bounds problem with cplex exporter.
--------------------------------------------------------------------------
diff --git a/src/cell-draw.c b/src/cell-draw.c
index 5f36eb0..5b27719 100644
--- a/src/cell-draw.c
+++ b/src/cell-draw.c
@@ -42,8 +42,7 @@ cell_draw_simplify_cb (PangoAttribute *attribute,
static void
cell_draw_simplify_attributes (GnmRenderedValue *rv)
{
- PangoAttrList *pal = pango_attr_list_ref
- (pango_layout_get_attributes (rv->layout));
+ PangoAttrList *pal = pango_layout_get_attributes (rv->layout);
gboolean recalc_height = FALSE;
pango_attr_list_unref
(pango_attr_list_filter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]