summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2014-06-21 17:24:06 -0400
committerColin Walters <walters@verbum.org>2014-06-21 18:08:49 -0400
commitdfda6e3a46135bb03a0eab6758b4687078016aa6 (patch)
tree29cc94f7f67d7b227a99816f8cfbd2bd96b70b75
parentd7067975e7beb60a0a3d30fe668952def3d61775 (diff)
downloadostree-dfda6e3a46135bb03a0eab6758b4687078016aa6.tar.gz
[staticanalysis]: Add missing va_end()
https://bugzilla.gnome.org/show_bug.cgi?id=732020
-rw-r--r--src/libotutil/ot-gio-utils.c2
1 files changed, 2 insertions, 0 deletions
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);