[goffice] GOPixbuf: plug leak.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] GOPixbuf: plug leak.
- Date: Thu, 14 May 2015 21:43:30 +0000 (UTC)
commit 2b4062f59ac560b525b67b2d3651fa2383ccb9e3
Author: Morten Welinder <terra gnome org>
Date: Thu May 14 17:43:26 2015 -0400
GOPixbuf: plug leak.
ChangeLog | 4 ++++
NEWS | 1 +
goffice/utils/go-pixbuf.c | 1 +
3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ce8202a..38fa1da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-05-14 Morten Welinder <terra gnome org>
+
+ * goffice/utils/go-pixbuf.c (go_pixbuf_finalize): Plug leak.
+
2015-05-12 Morten Welinder <terra gnome org>
* goffice/graph/gog-renderer.c (gog_renderer_get_pixbuf): Handle
diff --git a/NEWS b/NEWS
index 56ec2bd..a7aaa3c 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ Jean:
Morten:
* Fix ABR [#749167]
* Shield Cairo from image sizes it cannot handle. [#749274]
+ * Plug leak. [#749395]
--------------------------------------------------------------------------
goffice 0.10.22:
diff --git a/goffice/utils/go-pixbuf.c b/goffice/utils/go-pixbuf.c
index e46562b..9771679 100644
--- a/goffice/utils/go-pixbuf.c
+++ b/goffice/utils/go-pixbuf.c
@@ -339,6 +339,7 @@ go_pixbuf_finalize (GObject *obj)
g_object_unref (pixbuf->pixbuf);
if (pixbuf->surface)
cairo_surface_destroy (pixbuf->surface);
+ g_free (pixbuf->cairo_pixels);
g_free (pixbuf->type);
(parent_klass->finalize) (obj);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]