We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running a few tests under valgrind produces the following warnings:
lmdb-js/src/lmdb-js.h
Line 354 in 89032ed
lastReaderCheck has no initialization ; I reckon what it is initialized with is undefined behaviour.
lastReaderCheck
Warning about free call on:
Line 320 in 89032ed
openEnvWraps is a vector allocated with new on
openEnvWraps
new
lmdb-js/src/env.cpp
Line 390 in 89032ed
free won't call the destructor so I think this is leaking memory as the vector internals won't be released.
free
The text was updated successfully, but these errors were encountered:
Address valgrind warnings to properly initializer lastReaderCheck and…
9289b4d
… delete the open envs vector, #300
No branches or pull requests
Running a few tests under valgrind produces the following warnings:
Conditional jump or move depends on uninitialised value(s)
lmdb-js/src/lmdb-js.h
Line 354 in 89032ed
lastReaderCheck
has no initialization ; I reckon what it is initialized with is undefined behaviour.Mismatched free / delete / delete[]
Warning about free call on:
lmdb-js/src/lmdb-js.h
Line 320 in 89032ed
openEnvWraps
is a vector allocated withnew
onlmdb-js/src/env.cpp
Line 390 in 89032ed
free
won't call the destructor so I think this is leaking memory as the vector internals won't be released.The text was updated successfully, but these errors were encountered: