tgbatba: fix destroying of cache variables.

* src/tgba/tgbatba.cc (tgba_tba_proxy::~tgba_tba_proxy):
Zero last_support_conditions_input_ and last_support_variables_input_.
This commit is contained in:
Alexandre Duret-Lutz 2012-04-13 12:21:57 +02:00
parent 8269ae9cee
commit d3be530410

View file

@ -459,6 +459,11 @@ namespace spot
s->destroy();
}
delete m;
// These have already been destroyed.
// Prevent destroying by tgba::~tgba.
this->last_support_conditions_input_ = 0;
this->last_support_variables_input_ = 0;
}
state*