child_pid of type GPid should be closed on all platforms with g_spawn_close_pid

This commit is contained in:
Ómar Högni Guðmarsson 2023-11-28 20:22:35 +00:00 committed by Ómar Högni Guðmarsson
parent 37957321b5
commit 3deff2fa7d

View File

@ -794,7 +794,7 @@ g_dbus_address_connect (const gchar *address_entry,
{
g_close (s[0], NULL);
g_free (argv);
g_free (child_pid);
g_spawn_close_pid (child_pid);
goto out;
}
ret = (GIOStream *) g_socket_connection_factory_create_connection (fdsocket);