json: don't call va_end() twice in json_build()

This was apparently left-over when json_buildv() was added, and
json_build() just became a wrapper for it.
This commit is contained in:
Lennart Poettering
2019-03-01 11:00:06 +01:00
parent 59273a0c53
commit 96be0e89f2

View File

@@ -3108,8 +3108,6 @@ finish:
free(stack);
va_end(ap);
return r;
}