Fixed small new[] / delete mismatch in HookManGen (CGenContext::BuildProtoInfo)
authorPavol Marko <pavolmarko@gmail.com>
Fri Jan 18 16:56:03 2008 +0000 (2008-01-18)
changeset 4900a54fa7a5167
parent 489 77c6b0da24ec
child 491 698397d072e2
Fixed small new[] / delete mismatch in HookManGen (CGenContext::BuildProtoInfo)
sourcehook/sourcehook_hookmangen.cpp
     1.1 --- a/sourcehook/sourcehook_hookmangen.cpp	Thu Jan 10 19:05:59 2008 +0000
     1.2 +++ b/sourcehook/sourcehook_hookmangen.cpp	Fri Jan 18 16:56:03 2008 +0000
     1.3 @@ -74,12 +74,12 @@
     1.4  			m_PubFunc.clear();
     1.5  			if (m_BuiltPI_Params)
     1.6  			{
     1.7 -				delete m_BuiltPI_Params;
     1.8 +				delete [] m_BuiltPI_Params;
     1.9  				m_BuiltPI_Params = NULL;
    1.10  			}
    1.11  			if (m_BuiltPI_Params2)
    1.12  			{
    1.13 -				delete m_BuiltPI_Params2;
    1.14 +				delete [] m_BuiltPI_Params2;
    1.15  				m_BuiltPI_Params2 = NULL;
    1.16  			}
    1.17  		}