mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
GWin32AppInfo: Add missing g_spawn_close_pid
This commit is contained in:
parent
66c4e35e28
commit
e112bdb247
@ -4798,6 +4798,7 @@ emit_launched (GAppLaunchContext *context,
|
||||
GVariant *platform_data = make_platform_data (*pid);
|
||||
g_signal_emit_by_name (context, "launched", info, platform_data);
|
||||
g_variant_unref (platform_data);
|
||||
g_spawn_close_pid (*pid);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -4815,7 +4816,7 @@ emit_launched (GAppLaunchContext *context,
|
||||
(GDestroyNotify) emit_launched_data_free);
|
||||
}
|
||||
|
||||
*pid = 0;
|
||||
*pid = NULL;
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
|
Loading…
Reference in New Issue
Block a user