all: no longer need to call htable_clear to free htable contents.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2023-01-12 11:43:14 +10:30
parent f07e37018d
commit 5dfcd15782
11 changed files with 0 additions and 46 deletions

View File

@@ -533,7 +533,6 @@ static struct command_result *listsendpays_done(struct command *cmd,
assert(pm != NULL);
add_new_entry(ret, buf, pm);
}
pay_map_clear(pay_map);
json_array_end(ret);
return command_finished(cmd, ret);
}