Remove duplicate va_end() on error path

This commit is contained in:
Frank Denis 2020-07-17 16:08:50 +02:00
parent 82913c2b64
commit bb81665e20

View file

@ -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);