fixed 2 memory leaks in the debugger
This commit is contained in:
parent
1d6becf3b5
commit
769485ce29
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user