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:
parent
502e1191d5
commit
2ee096f5e7
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user