[gnome-desktop] gnome-bg-slideshow: Fix memory leak of a filename
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop] gnome-bg-slideshow: Fix memory leak of a filename
- Date: Wed, 2 Oct 2013 15:25:48 +0000 (UTC)
commit dfc4ecac06eed41cd655e48ba01a7842409c3ad1
Author: Bastien Nocera <hadess hadess net>
Date: Wed Oct 2 16:36:32 2013 +0200
gnome-bg-slideshow: Fix memory leak of a filename
https://bugzilla.gnome.org/show_bug.cgi?id=709271
libgnome-desktop/gnome-bg-slide-show.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgnome-desktop/gnome-bg-slide-show.c b/libgnome-desktop/gnome-bg-slide-show.c
index 0d38ddf..c96c271 100644
--- a/libgnome-desktop/gnome-bg-slide-show.c
+++ b/libgnome-desktop/gnome-bg-slide-show.c
@@ -166,6 +166,8 @@ gnome_bg_slide_show_finalize (GObject *object)
g_list_foreach (self->priv->stack->head, (GFunc) g_free, NULL);
g_queue_free (self->priv->stack);
+
+ g_free (self->priv->filename);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]