mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
memleak: simplify API.
Mainly renaming. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -107,7 +107,7 @@ static struct command_result *json_testrpc(struct command *cmd,
|
||||
static void memleak_mark(struct plugin *p, struct htable *memtable)
|
||||
{
|
||||
/* name_option is not a leak! */
|
||||
memleak_remove_region(memtable, &name_option, sizeof(name_option));
|
||||
memleak_ptr(memtable, name_option);
|
||||
}
|
||||
#endif /* DEVELOPER */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user