sysroot: Close sysroot fd in finalize
Just noticed this while I was going to add another one there.
This commit is contained in:
parent
02b3a81d11
commit
f08cb802ea
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue