[gnome-control-center] background: Fix leak of the preview picture
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] background: Fix leak of the preview picture
- Date: Wed, 2 Oct 2013 17:07:23 +0000 (UTC)
commit e7433f16297109c4369069cf2dbc8ca29fbaab1e
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 2 13:36:19 2013 +0200
background: Fix leak of the preview picture
https://bugzilla.gnome.org/show_bug.cgi?id=709243
panels/background/cc-background-panel.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c
index 1148b80..e194c8b 100644
--- a/panels/background/cc-background-panel.c
+++ b/panels/background/cc-background-panel.c
@@ -253,6 +253,7 @@ update_display_preview (CcBackgroundPanel *panel,
pixbuf,
0, 0);
cairo_paint (cr);
+ g_object_unref (pixbuf);
}
cairo_destroy (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]