aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2014-09-25 08:53:43 +0200
committerPhilip Kaufmann <[email protected]>2014-10-02 10:46:31 +0200
commitc9fb27da0a72135417956dca8dafa959ebb67c10 (patch)
tree7676f91bda9f87762ff5cdd2cbee18eba50dd854 /src/init.cpp
parentMerge pull request #5017 (diff)
downloaddiscoin-c9fb27da0a72135417956dca8dafa959ebb67c10.tar.xz
discoin-c9fb27da0a72135417956dca8dafa959ebb67c10.zip
CBufferedFile: convert into a non-refcounted RAII wrapper
- it now takes over the passed file descriptor and closes it in the destructor - this fixes a leak in LoadExternalBlockFile(), where an exception could cause the file to not getting closed - disallow copies (like recently added for CAutoFile) - make nType and nVersion private
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions