tests: Fix a memory leak when abandoning a file creation time test

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2022-05-27 17:09:31 +01:00
parent b7b10cc7e0
commit 18c0088678

View File

@ -409,6 +409,7 @@ test_g_file_info_creation_time (void)
if (!dt)
{
g_test_skip ("Skipping testing creation time as its not supported by the kernel");
g_clear_object (&io_stream);
g_file_delete (file, NULL, NULL);
g_clear_object (&file);
g_clear_object (&info);