diff --git a/lightningd/lightningd.c b/lightningd/lightningd.c index 583726091ad4..8650a653a6d1 100644 --- a/lightningd/lightningd.c +++ b/lightningd/lightningd.c @@ -854,6 +854,7 @@ int main(int argc, char *argv[]) /* FIXME: pay can have children off tmpctx which unlink from * ld->payments, so clean that up. */ clean_tmpctx(); + timers_cleanup(&ld->timers); tal_free(ld); opt_free_table();