From dfda6e3a46135bb03a0eab6758b4687078016aa6 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 21 Jun 2014 17:24:06 -0400 Subject: [PATCH] [staticanalysis]: Add missing va_end() https://bugzilla.gnome.org/show_bug.cgi?id=732020 --- src/libotutil/ot-gio-utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libotutil/ot-gio-utils.c b/src/libotutil/ot-gio-utils.c index 61eb422d..dff2113c 100644 --- a/src/libotutil/ot-gio-utils.c +++ b/src/libotutil/ot-gio-utils.c @@ -98,6 +98,8 @@ ot_gfile_get_child_strconcat (GFile *parent, while ((arg = va_arg (args, const char *)) != NULL) g_string_append (buf, arg); + va_end (args); + ret = g_file_get_child (parent, buf->str); g_string_free (buf, TRUE);