mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
memleak: restore functionality accidentally removed.
Accidentally removed in 6c9b752751.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -106,6 +106,7 @@ static void children_into_htable(const void *exclude1, const void *exclude2,
|
|||||||
if (streq(name, "tmpctx"))
|
if (streq(name, "tmpctx"))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
htable_add(memtable, hash_ptr(i, NULL), i);
|
||||||
children_into_htable(exclude1, exclude2, memtable, i);
|
children_into_htable(exclude1, exclude2, memtable, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user