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

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

Reported by Joachim Klein.

* src/bin/ltlcross.cc: Here.
* NEWS, THANKS: Update.
parent 168265bd
......@@ -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)
......
......@@ -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
......
......@@ -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)
{
......
Supports Markdown
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