diff options
author | Ross Nicoll <jrn@jrn.me.uk> | 2014-08-07 22:58:50 +0100 |
---|---|---|
committer | Ross Nicoll <jrn@jrn.me.uk> | 2014-08-16 15:27:18 +0100 |
commit | 5cbda4f10f16923910de2bd080152fc7bbc48738 (patch) | |
tree | d97408d2785dabf09d3fdbe1d65f9fad799d4c9b /src/compat/glibc_compat.cpp | |
parent | 003bbd5f7672d7fd4f40478fd57cc4e03c30f933 (diff) |
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/compat/glibc_compat.cpp')
0 files changed, 0 insertions, 0 deletions