libbitcoin / libbitcoin-system

Bitcoin Cross-Platform C++ Development Toolkit

Home Page:https://libbitcoin.info/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Static memory leak.

evoskuil opened this issue · comments

Test cases /crypto and /wallet/keys/ec_point (which uses /crypto) appear to have a static destruct leak a associated with secp256k1_initializer. This is reproducible in VS debug builds with boost test memory leak checking enabled (only supported by boost in VS debug builds). Eg:

--run_test=ec_point_tests --detect_memory_leak=1

No leaks detected apart from /crypto tests.

Resolved in pending PR.