sysroot: Close sysroot fd in finalize
Just noticed this while I was going to add another one there.
This commit is contained in:
1 parent
02b3a81d11
commit
f08cb802ea
1 file changed
+3
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user