aboutsummaryrefslogtreecommitdiff
path: root/src/test/util_tests.cpp
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2014-08-07 22:58:50 +0100
committerRoss Nicoll <[email protected]>2014-08-16 15:27:18 +0100
commit5cbda4f10f16923910de2bd080152fc7bbc48738 (patch)
treed97408d2785dabf09d3fdbe1d65f9fad799d4c9b /src/test/util_tests.cpp
parentMerge pull request #4645 (diff)
downloaddiscoin-5cbda4f10f16923910de2bd080152fc7bbc48738.tar.xz
discoin-5cbda4f10f16923910de2bd080152fc7bbc48738.zip
Changed LevelDB cursors to use scoped pointers to ensure destruction when going out of scope.
This corrects a bug where an exception thrown reading from the database causes the cursor to be left open, which causes an assertion error to occur when the database is deleted (around line 938 of init.cpp).
Diffstat (limited to 'src/test/util_tests.cpp')
0 files changed, 0 insertions, 0 deletions