3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-14 21:08:46 +00:00

Added call to memory::finalize() to ease memory leak debugging

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2015-01-16 17:34:01 +00:00
parent b9bbfbdbb7
commit bb722b24c1

View file

@ -337,6 +337,7 @@ int main(int argc, char ** argv) {
default: default:
UNREACHABLE(); UNREACHABLE();
} }
memory::finalize();
#ifdef _WINDOWS #ifdef _WINDOWS
_CrtDumpMemoryLeaks(); _CrtDumpMemoryLeaks();
#endif #endif