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

This commit is contained in:
Christian Decker 2019-12-12 16:31:44 +01:00
parent e521aaec8e
commit fb7c67889e

View file

@ -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);