summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-03-01 11:00:06 +0100
committerLennart Poettering <lennart@poettering.net>2019-03-01 12:19:19 +0100
commit96be0e89f2928b3396a344c0e24285f1ce7efda6 (patch)
treeafb9da56baeee72422faf91c1e3a3ff966372955 /src
parentsemaphoreci: Run subset of autopkgtests in LXC (#11814) (diff)
downloadsystemd-96be0e89f2928b3396a344c0e24285f1ce7efda6.tar.xz
systemd-96be0e89f2928b3396a344c0e24285f1ce7efda6.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/shared/json.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/shared/json.c b/src/shared/json.c
index 7ae1ffb1b2..f46ea68204 100644
--- a/src/shared/json.c
+++ b/src/shared/json.c
@@ -3108,8 +3108,6 @@ finish:
free(stack);
- va_end(ap);
-
return r;
}