sysroot: Close sysroot fd in finalize

Just noticed this while I was going to add another one there.
This commit is contained in:
Colin Walters committed 2015-04-20 16:51:05 -04:00
1 parent 02b3a81d11
commit f08cb802ea
1 file changed
+3
+3
View File
@@ -66,6 +66,9 @@ ostree_sysroot_finalize (GObject *object)
g_clear_object (&self->sepolicy);
g_clear_object (&self->repo);
if (self->sysroot_fd != -1)
(void) close (self->sysroot_fd);
G_OBJECT_CLASS (ostree_sysroot_parent_class)->finalize (object);
}