memleak: simplify API.

Mainly renaming.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2022-09-16 12:44:39 +09:30
parent fd71dfc7f7
commit 3380f559f9
29 changed files with 186 additions and 161 deletions

View File

@@ -927,7 +927,7 @@ static void wait_and_check_bitcoind(struct plugin *p)
#if DEVELOPER
static void memleak_mark_bitcoind(struct plugin *p, struct htable *memtable)
{
memleak_remove_region(memtable, bitcoind, sizeof(*bitcoind));
memleak_scan_obj(memtable, bitcoind);
}
#endif