From f2f116d613274441d3740151fbb2220fecc87de4 Mon Sep 17 00:00:00 2001 From: ZmnSCPxj Date: Sun, 31 Dec 2017 09:10:25 +0000 Subject: [PATCH] lightningd: Add missing final cleanups. --- lightningd/lightningd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lightningd/lightningd.c b/lightningd/lightningd.c index 96eab8550..1686dd213 100644 --- a/lightningd/lightningd.c +++ b/lightningd/lightningd.c @@ -365,5 +365,7 @@ int main(int argc, char *argv[]) #if DEVELOPER memleak_cleanup(); #endif + take_cleanup(); + secp256k1_context_destroy(secp256k1_ctx); return 0; }