Skip to content
Snippets Groups Projects
Commit 63e79f91 authored by Jeremy Whiting's avatar Jeremy Whiting
Browse files

Merge branch 'wip/smcv/leaks' into 'master'

Fix memory leaks

See merge request steam/steam-runtime-tools!40
parents bdfe4333 38c97205
No related branches found
No related tags found
1 merge request!40Fix memory leaks
Pipeline #1545 passed
......@@ -427,6 +427,9 @@ out:
g_ptr_array_unref (argv);
g_free (output);
g_clear_error (&error);
g_free (platformstring);
g_free (filtered_preload);
g_strfreev (my_environ);
return issues;
}
......
......@@ -107,6 +107,8 @@ test_object (Fixture *f,
g_assert_cmpstr (renderer, ==, SRT_TEST_GOOD_GRAPHICS_RENDERER);
g_assert_cmpstr (version, ==, SRT_TEST_GOOD_GRAPHICS_VERSION);
g_free (tuple);
g_free (renderer);
g_free (version);
g_object_unref (graphics);
}
......@@ -151,6 +153,7 @@ test_good_graphics (Fixture *f,
g_free (version);
g_object_unref (graphics);
g_object_unref (info);
}
/*
......@@ -194,6 +197,7 @@ test_bad_graphics (Fixture *f,
g_free (version);
g_object_unref (graphics);
g_object_unref (info);
}
/*
......@@ -237,6 +241,7 @@ test_software_rendering (Fixture *f,
g_free (version);
g_object_unref (graphics);
g_object_unref (info);
}
int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment