diff --git a/amxmodx/debugger.cpp b/amxmodx/debugger.cpp index 4e488794..3a3497ee 100755 --- a/amxmodx/debugger.cpp +++ b/amxmodx/debugger.cpp @@ -639,6 +639,8 @@ void Debugger::GenericMessage(AMX *amx, int err) Debugger::~Debugger() { Clear(); + dbg_FreeInfo(m_pAmxDbg); + delete m_pAmxDbg; } int Handler::SetErrorHandler(const char *function)