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; }