[gtk+] Don't leak the GDir in the iconview example
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Don't leak the GDir in the iconview example
- Date: Thu, 17 Feb 2011 20:57:53 +0000 (UTC)
commit 91b8417d3564cf4ec1002d9d1149216ad4b5b3b7
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 17 15:54:50 2011 -0500
Don't leak the GDir in the iconview example
demos/gtk-demo/iconview.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/iconview.c b/demos/gtk-demo/iconview.c
index 9984eab..d94867d 100644
--- a/demos/gtk-demo/iconview.c
+++ b/demos/gtk-demo/iconview.c
@@ -105,6 +105,7 @@ fill_store (GtkListStore *store)
name = g_dir_read_name (dir);
}
+ g_dir_close (dir);
}
static gint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]