mirror of
https://github.com/Z3Prover/z3
synced 2025-05-02 13:27:01 +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,7 +108,9 @@ public:
|
|||
#endif
|
||||
}
|
||||
~line_reader() {
|
||||
fclose(m_file);
|
||||
if (m_file != nullptr){
|
||||
fclose(m_file);
|
||||
}
|
||||
}
|
||||
|
||||
bool operator()() { return m_ok; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue