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

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)
{