When iterating a hash_map, be careful not to delete i->first

before doing ++i to avoid memory issues.

* src/tgba/taatgba.cc, src/tgba/taatgba.hh,
src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh: Fix them.
This commit is contained in:
Damien Lefortier 2010-01-20 17:37:25 +01:00
parent 0d6fd3225a
commit 04827ef4a1
5 changed files with 63 additions and 32 deletions

View file

@ -1,3 +1,11 @@
2010-01-20 Damien Lefortier <dam@lrde.epita.fr>
When iterating a hash_map, be careful not to delete i->first
before doing ++i to avoid memory issues.
* src/tgba/taatgba.cc, src/tgba/taatgba.hh,
src/tgba/tgbaexplicit.cc, src/tgba/tgbaexplicit.hh: Fix them.
2010-01-20 Damien Lefortier <dam@lrde.epita.fr>
Minor fixes to compile with GCC 3.3