Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory errors in testlibrary and other test code #5691

Merged
merged 10 commits into from
Feb 15, 2024
Prev Previous commit
Next Next commit
testlibrary: Don't leak FlatpakInstance
Signed-off-by: Simon McVittie <[email protected]>
  • Loading branch information
smcv committed Feb 15, 2024
commit 0d57ef1bc6ae64110e29ecf348c1d4b8e82da055
2 changes: 1 addition & 1 deletion tests/testlibrary.c
Original file line number Diff line number Diff line change
Expand Up @@ -4256,7 +4256,7 @@ test_instance (void)
g_autoptr(GError) error = NULL;
gboolean res;
g_autoptr(GPtrArray) instances = NULL;
FlatpakInstance *instance;
g_autoptr(FlatpakInstance) instance = NULL;
GKeyFile *info;
g_autofree char *value = NULL;
int i;
Expand Down