couvreur99_new: fix two memory leaks found by ASAN

This only occurs when doing the emptiness check of twa with allocated
states.

* spot/twaalgos/couvreurnew.cc: Here.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2017-11-17 17:50:26 +01:00
parent a55801c223
commit 544d63f2f2
2 changed files with 28 additions and 4 deletions

5
NEWS
View file

@ -1,6 +1,9 @@
New in spot 2.4.2.dev (not yet released)
Nothing yet.
Bug fixes:
- couvreur99_new() leaked memory when processing TωA that allocate
states.
New in spot 2.4.2 (2017-11-07)