From 769485ce291ff775f00a50f80d3245692d2b5d07 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Fri, 21 Apr 2006 02:45:57 +0000 Subject: [PATCH] fixed 2 memory leaks in the debugger --- amxmodx/debugger.cpp | 2 ++ 1 file changed, 2 insertions(+) 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)