[ostree] [staticanalysis]: Add missing va_end()
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] [staticanalysis]: Add missing va_end()
- Date: Sun, 22 Jun 2014 00:21:34 +0000 (UTC)
commit dfda6e3a46135bb03a0eab6758b4687078016aa6
Author: Colin Walters <walters verbum org>
Date: Sat Jun 21 17:24:06 2014 -0400
[staticanalysis]: Add missing va_end()
https://bugzilla.gnome.org/show_bug.cgi?id=732020
src/libotutil/ot-gio-utils.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libotutil/ot-gio-utils.c b/src/libotutil/ot-gio-utils.c
index 61eb422..dff2113 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]