mirror of
https://github.com/Z3Prover/z3
synced 2025-05-31 19:29:13 +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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue