diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-13 18:44:18 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-18 15:16:03 +0000 |
| commit | b1634aa3e8d5feb9dc443d1c0edaeaa64225fe3c (patch) | |
| tree | f855cbd857160ff9426b59c74e708d6a83d87c25 | |
| parent | 8e60b81c48f68a2ecd8aa3cc116ae3c7b7065fef (diff) | |
| download | monzero-core-b1634aa3e8d5feb9dc443d1c0edaeaa64225fe3c.tar.gz monzero-core-b1634aa3e8d5feb9dc443d1c0edaeaa64225fe3c.tar.xz monzero-core-b1634aa3e8d5feb9dc443d1c0edaeaa64225fe3c.zip | |
blockchain: don't leave dangling pointers in this
| -rw-r--r-- | src/cryptonote_core/blockchain.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 6e45417c0..c16d56568 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -490,7 +490,9 @@ bool Blockchain::deinit() } delete m_hardfork; + m_hardfork = NULL; delete m_db; + m_db = NULL; return true; } //------------------------------------------------------------------ |
