3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-12 06:00:53 +00:00

Fixed Segfault when failing to load datalog file

This commit is contained in:
corrodedHash 2018-05-08 19:26:14 +02:00
parent bc3719f436
commit d097d90731

View file

@ -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; }