mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue