[glib/wip/coverity-fixes: 2/6] tests: Add missing va_end()



commit 8df83706fa032f44765526647b8c5176174a0ede
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]