From db2b0139905a67ef3dc28390fc2899d5a179be35 Mon Sep 17 00:00:00 2001 From: niftynei Date: Tue, 15 Sep 2020 20:29:03 -0500 Subject: [PATCH] dual-fund: call daemon_shutdown only daemon_shutdown calls common_shutdown internally; calling both frees the same context twice --- openingd/dualopend.c | 1 - 1 file changed, 1 deletion(-) diff --git a/openingd/dualopend.c b/openingd/dualopend.c index bab69c3d3..4e1be32e8 100644 --- a/openingd/dualopend.c +++ b/openingd/dualopend.c @@ -1516,7 +1516,6 @@ int main(int argc, char *argv[]) /* This frees the entire tal tree. */ tal_free(state); - common_shutdown(); daemon_shutdown(); return 0; }