mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 06:41:44 +01:00
htlcs: Make sure htlc_sets is not erroneously flagged as a memleak
This commit is contained in:
parent
e521aaec8e
commit
fb7c67889e
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue