mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
blockchain: don't leave dangling pointers in this
This commit is contained in:
parent
8e60b81c48
commit
b1634aa3e8
1 changed files with 2 additions and 0 deletions
|
@ -490,7 +490,9 @@ bool Blockchain::deinit()
|
||||||
}
|
}
|
||||||
|
|
||||||
delete m_hardfork;
|
delete m_hardfork;
|
||||||
|
m_hardfork = NULL;
|
||||||
delete m_db;
|
delete m_db;
|
||||||
|
m_db = NULL;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue