From 60035cad52d6a2948de804a2b7b348f2ea968dc9 Mon Sep 17 00:00:00 2001 From: John Jones Date: Mon, 13 Jun 2022 16:41:12 -0500 Subject: [PATCH] clean up memory on shutdown --- src/init.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/init.cpp b/src/init.cpp index 2f658e01f33..b98aab63c3d 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -269,6 +269,8 @@ void Shutdown() pcoinsdbview = NULL; delete pblocktree; pblocktree = NULL; + delete pnotarisations; + pnotarisations = nullptr; } #ifdef ENABLE_WALLET if (pwalletMain)