tests: Fix a memory leak in the keyfile test

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2022-02-18 02:34:13 +00:00
parent a389227fb9
commit ba556e6d34

View File

@ -1700,6 +1700,7 @@ test_utf8 (void)
g_assert_error (error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_UNKNOWN_ENCODING);
g_clear_error (&error);
g_key_file_free (file);
g_free (data);
}
}