Commit a8143343 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

minimize_wdba: avoid memory leak

* spot/twaalgos/ Do not look the final/non_final hash
table when determinization is aborted.
parent 5fc026ed
......@@ -380,8 +380,8 @@ namespace spot
throw std::runtime_error
("minimize_wdba() does not support alternation");
hash_set* final = new hash_set;
hash_set* non_final = new hash_set;
hash_set* final;
hash_set* non_final;
twa_graph_ptr det_a;
......@@ -444,6 +444,8 @@ namespace spot
final = new hash_set;
non_final = new hash_set;
// SCC that have been marked as useless.
std::vector<bool> useless(scc_count);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment