fixed 2 memory leaks in the debugger

This commit is contained in:
Borja Ferrer 2006-04-21 02:45:57 +00:00
parent 1d6becf3b5
commit 769485ce29

View File

@ -639,6 +639,8 @@ void Debugger::GenericMessage(AMX *amx, int err)
Debugger::~Debugger() Debugger::~Debugger()
{ {
Clear(); Clear();
dbg_FreeInfo(m_pAmxDbg);
delete m_pAmxDbg;
} }
int Handler::SetErrorHandler(const char *function) int Handler::SetErrorHandler(const char *function)