askrene: fix false positive memleak since we didn't scan local_updates.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2024-11-07 17:05:35 +10:30
parent 23465f06df
commit 3f09e503ec

View file

@ -529,5 +529,6 @@ void layer_memleak_mark(struct askrene *askrene, struct htable *memtable)
list_for_each(&askrene->layers, l, list) {
memleak_scan_htable(memtable, &l->constraints->raw);
memleak_scan_htable(memtable, &l->local_channels->raw);
memleak_scan_htable(memtable, &l->local_updates->raw);
}
}