mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +00:00
Merge pull request #1613 from corrodedHash/master
Fixed Segfault when failing to load datalog file
This commit is contained in:
commit
53976d0ddf
1 changed files with 3 additions and 1 deletions
|
@ -108,8 +108,10 @@ public:
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
~line_reader() {
|
~line_reader() {
|
||||||
|
if (m_file != nullptr){
|
||||||
fclose(m_file);
|
fclose(m_file);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
bool operator()() { return m_ok; }
|
bool operator()() { return m_ok; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue