From f0667d239a51772f993357faf4d3e9b31ab0724a Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 5 Mar 2018 17:45:30 +0100 Subject: [PATCH] Remove duplicate va_end(...) call. va_end(...) is the responsibility of the caller. --- common/wire_error.c | 1 - 1 file changed, 1 deletion(-) diff --git a/common/wire_error.c b/common/wire_error.c index a9c21494b..1b52f3a76 100644 --- a/common/wire_error.c +++ b/common/wire_error.c @@ -24,7 +24,6 @@ u8 *towire_errorfmtv(const tal_t *ctx, msg = towire_error(ctx, channel ? channel : &all_channels, (u8 *)tal_dup_arr(estr, char, estr, strlen(estr), 0)); tal_free(estr); - va_end(ap); return msg; }