gsettingsschema: Close directory
authorColin Walters <walters@verbum.org>
Tue, 22 Jul 2014 18:11:25 +0000 (14:11 -0400)
committerColin Walters <walters@verbum.org>
Wed, 23 Jul 2014 11:43:41 +0000 (07:43 -0400)
Spotted by static analysis.

https://bugzilla.gnome.org/show_bug.cgi?id=733576

gio/gsettingsschema.c

index f643c9f..517198b 100644 (file)
@@ -697,6 +697,8 @@ parse_into_text_tables (const gchar *directory,
 
       g_free (filename);
     }
+  
+  g_dir_close (dir);
 }
 
 static GHashTable **