ltlcross: do not use f after it has been destroyed.

Reported by Joachim Klein.

* src/bin/ltlcross.cc: Here.
* NEWS, THANKS: Update.
This commit is contained in:
Alexandre Duret-Lutz 2013-07-09 13:59:22 +02:00
parent 168265bdf0
commit a9a96ee4ff
3 changed files with 3 additions and 1 deletions

1
NEWS
View file

@ -8,6 +8,7 @@ New in spot 1.1.2a (not releaased)
the acceptance sets of an SCC but the first one were useless.
- The script in bench/spin13/ would not work on MacOS X because
of some non-portable command.
- A memory corruption in ltlcross.
New in spot 1.1.2 (2013-06-09)

1
THANKS
View file

@ -10,6 +10,7 @@ Gerard J. Holzmann
Heikki Tauriainen
Jean-Michel Couvreur
Jean-Michel Ilié
Joachim Klein
Kristin Y. Rozier
Martin Dieguez Lodeiro
Michael Weber

View file

@ -970,7 +970,6 @@ namespace
nf->destroy();
}
f->destroy();
cleanup();
++round;
@ -999,6 +998,7 @@ namespace
}
spot::ltl::atomic_prop_set* ap = spot::ltl::atomic_prop_collect(f);
f->destroy();
for (unsigned p = 0; p < products; ++p)
{