From bb81665e20ca400a5fe295a00de0fe920748401f Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 17 Jul 2020 16:08:50 +0200 Subject: [PATCH] Remove duplicate va_end() on error path --- src/helpers.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/helpers.c b/src/helpers.c index 6754c1d..c482b58 100644 --- a/src/helpers.c +++ b/src/helpers.c @@ -116,7 +116,6 @@ xfprintf(FILE *fp, const char *format, ...) va_end(va); if (fwrite(out, (size_t) len, 1U, fp) != 1U) { sodium_free(out); - va_end(va); exit_err("fwrite()"); } sodium_free(out);