mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 01:18:53 +02:00
gsubprocess: Add a missing va_end() call
Coverity issues: #1214070, #1214069 https://bugzilla.gnome.org/show_bug.cgi?id=730278
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user