[glib] tests: Add missing va_end()



commit f626cb3c16e415a78e21c7b1009e0fb9851fa3b4
Author: Colin Walters <walters verbum org>
Date:   Thu Jun 21 12:05:39 2012 -0400

    tests: Add missing va_end()

 gio/tests/gapplication.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/gapplication.c b/gio/tests/gapplication.c
index b7138cf..2e0ea9d 100644
--- a/gio/tests/gapplication.c
+++ b/gio/tests/gapplication.c
@@ -70,6 +70,8 @@ spawn (const gchar *expected_stdout,
   g_ptr_array_add (array, NULL);
   args = (gchar **) g_ptr_array_free (array, FALSE);
 
+  va_end (ap);
+
   data = g_slice_new (ChildData);
   data->expected_stdout = expected_stdout;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]