3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00

fixed potential handle leak

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2015-02-05 18:32:36 +00:00
parent a4c599a435
commit 088dc411ba

View file

@ -124,6 +124,7 @@ unsigned read_smtlib2_commands(char const * file_name) {
exit(ERR_OPEN_FILE);
}
result = parse_smt2_commands(ctx, in);
in.close();
}
else {
result = parse_smt2_commands(ctx, std::cin, true);