mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
tests: Various minor leak fixes in the GIO tests
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
@@ -254,11 +254,14 @@ test_dbus_appinfo (void)
|
||||
const gchar *argv[] = { "myapp", NULL };
|
||||
TestApplication *app;
|
||||
int status;
|
||||
gchar *desktop_file = NULL;
|
||||
|
||||
appinfo = g_desktop_app_info_new_from_filename (g_test_build_filename (G_TEST_DIST,
|
||||
"org.gtk.test.dbusappinfo.desktop",
|
||||
NULL));
|
||||
desktop_file = g_test_build_filename (G_TEST_DIST,
|
||||
"org.gtk.test.dbusappinfo.desktop",
|
||||
NULL);
|
||||
appinfo = g_desktop_app_info_new_from_filename (desktop_file);
|
||||
g_assert (appinfo != NULL);
|
||||
g_free (desktop_file);
|
||||
|
||||
app = g_object_new (test_application_get_type (),
|
||||
"application-id", "org.gtk.test.dbusappinfo",
|
||||
|
Reference in New Issue
Block a user