mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-30 18:41:23 -05:00
exports: Close mock host fd when destroyed
Previously this was leaked. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Alexander Larsson
parent
4c8264fc0e
commit
bca0e65267
@@ -178,6 +178,7 @@ flatpak_exports_new (void)
|
||||
void
|
||||
flatpak_exports_free (FlatpakExports *exports)
|
||||
{
|
||||
glnx_close_fd (&exports->host_fd);
|
||||
g_hash_table_destroy (exports->hash);
|
||||
g_free (exports);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user