tests: Fix a free function in the GIO tests

The monitor_path comes from g_file_get_path(), so should be freed with
g_free() rather than free(). This makes no difference because they are
the same function in practice, but using free() is a bit confusing.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Reviewed-by: nobody
This commit is contained in:
Philip Withnall 2018-04-26 15:36:11 +01:00
parent 9365e212f8
commit 8056b753e5

View File

@ -510,7 +510,7 @@ test_create_delete (gconstpointer d)
skip:
g_object_unref (data->monitor);
g_object_unref (data->file);
free (data->monitor_path);
g_free (data->monitor_path);
g_free (data->buffer);
g_free (data);
}