diff --git a/common/memleak.c b/common/memleak.c index c436cdc7d..bdff9db08 100644 --- a/common/memleak.c +++ b/common/memleak.c @@ -106,6 +106,7 @@ static void children_into_htable(const void *exclude1, const void *exclude2, if (streq(name, "tmpctx")) continue; } + htable_add(memtable, hash_ptr(i, NULL), i); children_into_htable(exclude1, exclude2, memtable, i); } }