[glib] gsettingsschema: Close directory
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gsettingsschema: Close directory
- Date: Wed, 23 Jul 2014 11:47:23 +0000 (UTC)
commit 3fb44c4c713847059aac22c4c71074e14d11aceb
Author: Colin Walters <walters verbum org>
Date: Tue Jul 22 14:11:25 2014 -0400
gsettingsschema: Close directory
Spotted by static analysis.
https://bugzilla.gnome.org/show_bug.cgi?id=733576
gio/gsettingsschema.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gio/gsettingsschema.c b/gio/gsettingsschema.c
index f643c9f..517198b 100644
--- a/gio/gsettingsschema.c
+++ b/gio/gsettingsschema.c
@@ -697,6 +697,8 @@ parse_into_text_tables (const gchar *directory,
g_free (filename);
}
+
+ g_dir_close (dir);
}
static GHashTable **
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]