[gnome-desktop] gnome-bg: Fix memleak
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop] gnome-bg: Fix memleak
- Date: Mon, 13 May 2013 15:16:15 +0000 (UTC)
commit b85c5878f13eeb6b6777e2c6e6674b7c65db4e42
Author: Pavel Vasin <rat4vier gmail com>
Date: Mon Mar 4 15:48:08 2013 +0400
gnome-bg: Fix memleak
https://bugzilla.gnome.org/show_bug.cgi?id=695116
libgnome-desktop/gnome-bg-slide-show.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgnome-desktop/gnome-bg-slide-show.c b/libgnome-desktop/gnome-bg-slide-show.c
index d761244..1628b23 100644
--- a/libgnome-desktop/gnome-bg-slide-show.c
+++ b/libgnome-desktop/gnome-bg-slide-show.c
@@ -772,6 +772,7 @@ gnome_bg_slide_show_load_async (GnomeBGSlideShow *self,
file = g_file_new_for_path (self->priv->filename);
g_file_load_contents_async (file, cancellable, (GAsyncReadyCallback) on_file_loaded, task);
+ g_object_unref (file);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]