Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lightningd: avoid false memleak positive with rpc_command_hook.
On `dev-memleak`, if someone is using rpc_command_hook, we'll call it when the hook returns. But it will see these contexts as a leak. So attach them to tmpctx (which is excluded from leak detection). Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information