LASTEXPRESS: Use SAFE_DELETE for class variables

svn-id: r54201
This commit is contained in:
Julien Templier 2010-11-11 14:19:44 +00:00
parent 7207d920bc
commit 521f228ced
17 changed files with 99 additions and 88 deletions

View file

@ -100,7 +100,7 @@ Debugger::Debugger(LastExpressEngine *engine) : _engine(engine), _command(NULL),
Debugger::~Debugger() {
DebugMan.clearAllDebugChannels();
delete _soundStream;
SAFE_DELETE(_soundStream);
resetCommand();
_command = NULL;