mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
hsmd: remove unnecessary memleak_remove_region.
The current client is in dbid_zero_clients (i.e. it's lightningd). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
b67329bec2
commit
6c8ea95f6e
@ -558,7 +558,6 @@ static struct io_plan *handle_memleak(struct io_conn *conn,
|
||||
memtable = memleak_find_allocations(tmpctx, msg_in, msg_in);
|
||||
|
||||
/* Now delete clients and anything they point to. */
|
||||
memleak_remove_region(memtable, c, tal_bytelen(c));
|
||||
memleak_remove_region(memtable,
|
||||
dbid_zero_clients, sizeof(dbid_zero_clients));
|
||||
memleak_remove_uintmap(memtable, &clients);
|
||||
|
Loading…
Reference in New Issue
Block a user