summaryrefslogtreecommitdiff
path: root/gio/gsubprocesslauncher.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/gsubprocesslauncher.c')
-rw-r--r--gio/gsubprocesslauncher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/gsubprocesslauncher.c b/gio/gsubprocesslauncher.c
index c40d17d80..8c61b9d71 100644
--- a/gio/gsubprocesslauncher.c
+++ b/gio/gsubprocesslauncher.c
@@ -703,6 +703,7 @@ g_subprocess_launcher_spawn (GSubprocessLauncher *launcher,
g_ptr_array_add (args, (gchar *) arg);
g_ptr_array_add (args, NULL);
+ va_end (ap);
result = g_subprocess_launcher_spawnv (launcher, (const gchar * const *) args->pdata, error);