[gnumeric] Print: plug leak.



commit 0b2b1b4bfe6ade7c91e96adbd9ab5803c0f212b1
Author: Morten Welinder <terra gnome org>
Date:   Wed May 27 16:04:02 2015 -0400

    Print: plug leak.

 ChangeLog           |    4 ++++
 src/gnm-so-filled.c |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bf8d7f8..5c9062f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-05-27  Morten Welinder  <terra gnome org>
+
+       * src/gnm-so-filled.c (gnm_so_filled_draw_cairo): Plug leak.
+
 2015-05-16  Jean Brefort  <jean brefort normalesup org>
 
        * src/sheet-object-image.c (content_start): fixed leak, [see #749444,
diff --git a/src/gnm-so-filled.c b/src/gnm-so-filled.c
index d18894b..36732a1 100644
--- a/src/gnm-so-filled.c
+++ b/src/gnm-so-filled.c
@@ -323,6 +323,7 @@ gnm_so_filled_draw_cairo (SheetObject const *so, cairo_t *cr,
                cairo_new_path (cr);
                cairo_restore (cr);
                g_object_unref (pl);
+               pango_font_description_free (desc);
        }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]