mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
htlcs: Make sure htlc_sets is not erroneously flagged as a memleak
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user