Browse Source

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

ppa-0.6.1
practicalswift 7 years ago
committed by Rusty Russell
parent
commit
f0667d239a
  1. 1
      common/wire_error.c

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

Loading…
Cancel
Save