Remove duplicate va_end(...) call. va_end(...) is the responsibility of the caller.

This commit is contained in:
practicalswift
2018-03-05 17:45:30 +01:00
committed by Rusty Russell
parent f9bd43f266
commit f0667d239a

View File

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