Browse Source

htlcs: Make sure htlc_sets is not erroneously flagged as a memleak

travis-debug
Christian Decker 5 years ago
parent
commit
fb7c67889e
  1. 1
      lightningd/memdump.c

1
lightningd/memdump.c

@ -161,6 +161,7 @@ static void scan_mem(struct command *cmd,
memleak_remove_htable(memtable, &ld->topology->txowatches.raw);
memleak_remove_htable(memtable, &ld->htlcs_in.raw);
memleak_remove_htable(memtable, &ld->htlcs_out.raw);
memleak_remove_htable(memtable, &ld->htlc_sets.raw);
/* Now delete ld and those which it has pointers to. */
memleak_remove_referenced(memtable, ld);

Loading…
Cancel
Save