Skip to content

Commit

Permalink
clean up memory on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjatlanta committed Jun 13, 2022
1 parent 071d74b commit 60035ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ void Shutdown()
pcoinsdbview = NULL;
delete pblocktree;
pblocktree = NULL;
delete pnotarisations;
pnotarisations = nullptr;
}
#ifdef ENABLE_WALLET
if (pwalletMain)
Expand Down

0 comments on commit 60035ca

Please sign in to comment.