summaryrefslogtreecommitdiff
path: root/src/shared
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/shared
parent59273a0c53d6b62b19e0765a5e8837f31686f7d5 (diff)
downloadsystemd-96be0e89f2928b3396a344c0e24285f1ce7efda6.tar.gz
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/shared')
-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;
}