glib/tests/mapping: Unref the mapped file on exit

This commit is contained in:
Marco Trevisan (Treviño) 2024-05-10 01:17:41 +02:00 committed by Philip Withnall
parent 116312f089
commit 9c611f6ef9
No known key found for this signature in database
GPG Key ID: DCDF5885B1F3ED73

View File

@ -125,6 +125,7 @@ child_main (void)
g_free (childname);
g_free (global_filename);
g_free (dir);
g_mapped_file_unref (map);
signal_parent (NULL);
}