aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-11-18 11:58:32 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-11-18 14:10:26 +0100
commitbe8e1f8479ff46c99f97ac3e396736d36e5458c6 (patch)
treea300ef46ace1eeab970fe56b3976ced4e39f1a82 /src/db.h
parent4725e96a3aaa4dd602bd356390d190c6777c3a60 (diff)
Bitcoin-Qt: fix crash on Windows caused by CDBEnv::EnvShutdown()
- can be triggerd by just adding -proxy=crashme with 0.7.1 - crash occured, when AppInit2() was left with return false; after the first call to bitdb.open() (Step 6 in init) - this is caused by GetDataDir() or .string() in CDBEnv::EnvShutdown() called via the bitdb global destructor - init fDbEnvInit and fMockDb to false in CDBEnv::CDBEnv()
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db.h b/src/db.h
index 0bcece7803..9c01060a1c 100644
--- a/src/db.h
+++ b/src/db.h
@@ -33,6 +33,7 @@ class CDBEnv
private:
bool fDbEnvInit;
bool fMockDb;
+ std::string strPath;
void EnvShutdown();