mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
Remove duplicate va_end(...) call. va_end(...) is the responsibility of the caller.
This commit is contained in:
committed by
Rusty Russell
parent
f9bd43f266
commit
f0667d239a
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user