1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-30 19:52:17 +01:00

Fixed small new[] / delete mismatch in HookManGen (CGenContext::BuildProtoInfo)

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40620
This commit is contained in:
Pavol Marko 2008-01-18 16:56:03 +00:00
parent 502e1191d5
commit 2ee096f5e7

View File

@ -74,12 +74,12 @@ namespace SourceHook
m_PubFunc.clear();
if (m_BuiltPI_Params)
{
delete m_BuiltPI_Params;
delete [] m_BuiltPI_Params;
m_BuiltPI_Params = NULL;
}
if (m_BuiltPI_Params2)
{
delete m_BuiltPI_Params2;
delete [] m_BuiltPI_Params2;
m_BuiltPI_Params2 = NULL;
}
}