mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 18:31:49 +00:00
Fixed Segfault when failing to load datalog file
This commit is contained in:
parent
bc3719f436
commit
d097d90731
|
@ -108,7 +108,9 @@ public:
|
|||
#endif
|
||||
}
|
||||
~line_reader() {
|
||||
fclose(m_file);
|
||||
if (m_file != nullptr){
|
||||
fclose(m_file);
|
||||
}
|
||||
}
|
||||
|
||||
bool operator()() { return m_ok; }
|
||||
|
|
Loading…
Reference in a new issue