[gnome-builder] test: missing va_end when returning
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] test: missing va_end when returning
- Date: Sun, 15 Jan 2017 14:04:17 +0000 (UTC)
commit dcf3beaae1708cb5cc47c8e638960b617c403e62
Author: Sebastien Lafargue <slafargue gnome org>
Date: Sun Jan 15 14:49:22 2017 +0100
test: missing va_end when returning
tests/test-ide-subprocess-launcher.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/tests/test-ide-subprocess-launcher.c b/tests/test-ide-subprocess-launcher.c
index 13336fd..e071ee1 100644
--- a/tests/test-ide-subprocess-launcher.c
+++ b/tests/test-ide-subprocess-launcher.c
@@ -132,7 +132,10 @@ check_args (IdeSubprocessLauncher *launcher,
const gchar *next_arg = NULL;
next_arg = actual_argv[num_args++];
if (g_strcmp0 (next_arg, item) != 0)
- return 0;
+ {
+ va_end (args);
+ return 0;
+ }
}
va_end (args);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]