tests: Fix a memory leak in the resources test

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2022-02-18 02:32:59 +00:00
parent 9434e4a40c
commit d007fdb079

View File

@ -762,6 +762,8 @@ test_resource_module (void)
g_assert_false (found); g_assert_false (found);
g_assert_error (error, G_RESOURCE_ERROR, G_RESOURCE_ERROR_NOT_FOUND); g_assert_error (error, G_RESOURCE_ERROR, G_RESOURCE_ERROR_NOT_FOUND);
g_clear_error (&error); g_clear_error (&error);
g_clear_object (&module);
} }
} }