3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-05 19:00:25 +00:00

fix regex automata leaked memory

This commit is contained in:
Murphy Berzish 2018-04-12 14:35:29 -04:00
parent 47007d3f04
commit 3cfb32cd2d
2 changed files with 6 additions and 0 deletions

View file

@ -395,6 +395,7 @@ protected:
obj_map<expr, std::set<zstring> > regex_in_var_reg_str_map;
// regex automata
scoped_ptr_vector<eautomaton> m_automata;
ptr_vector<eautomaton> regex_automata;
obj_hashtable<expr> regex_terms;
obj_map<expr, ptr_vector<expr> > regex_terms_by_string; // S --> [ (str.in.re S *) ]