aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/strings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/strings.c b/src/strings.c
index 45c9310..ed90bc7 100644
--- a/src/strings.c
+++ b/src/strings.c
@@ -85,6 +85,7 @@ int string_vcatf(struct string *sb, const char *format, va_list ap)
ap2);
}
sb->len += n;
+ va_end(ap2);
return n;
}