mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-12 01:49:17 -04:00
testlibrary: Fix memory leaks
This commit is contained in:
committed by
Alexander Larsson
parent
2a111e5042
commit
7224809bc1
@@ -1354,10 +1354,10 @@ test_list_remote_related_refs (void)
|
||||
// Make the test with extra-languages, instead of languages
|
||||
clean_languages();
|
||||
configure_extra_languages();
|
||||
|
||||
inst = flatpak_installation_new_user (NULL, &error);
|
||||
flatpak_installation_drop_caches (inst, NULL, &error);
|
||||
g_assert_no_error (error);
|
||||
|
||||
g_clear_pointer (&refs, g_ptr_array_unref);
|
||||
refs = flatpak_installation_list_remote_related_refs_sync (inst, repo_name, app, NULL, &error);
|
||||
g_assert_nonnull (refs);
|
||||
g_assert_no_error (error);
|
||||
|
||||
Reference in New Issue
Block a user