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 b86cbf0514
commit 933c4cde0c
2 changed files with 29 additions and 3 deletions

5
NEWS
View file

@ -204,6 +204,11 @@ New in spot 2.4.2.dev (not yet released)
been removed. It's a low-level function was not used anywhere in
Spot anymore, since it's better to use spot::twa::copy_ap_of().
Bug fixes:
- couvreur99_new() leaked memory when processing TωA that allocate
states.
New in spot 2.4.2 (2017-11-07)
Tools: