mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
c++ example: call Z3_finalize_memory() so that the buildbot leak checker doesnt complain about reachable memory
This commit is contained in:
parent
aaa1af5b28
commit
9c08b60b5a
|
@ -1342,5 +1342,6 @@ int main() {
|
||||||
catch (exception & ex) {
|
catch (exception & ex) {
|
||||||
std::cout << "unexpected error: " << ex << "\n";
|
std::cout << "unexpected error: " << ex << "\n";
|
||||||
}
|
}
|
||||||
|
Z3_finalize_memory();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue