anisette is done, how to sign?
This commit is contained in:
@@ -218,7 +218,10 @@ void CJSONObject::CopyTo( IJSONObject *pObject )
|
||||
|
||||
void CJSONObject::Free()
|
||||
{
|
||||
|
||||
for ( auto ¶m: m_params )
|
||||
{
|
||||
JSONManager()->FreeValue(param.m_pValue);
|
||||
}
|
||||
}
|
||||
|
||||
abstract_class CJSONManager: public IJSONManager
|
||||
@@ -247,7 +250,8 @@ IJSONObject *CJSONManager::CreateObject( )
|
||||
|
||||
void CJSONManager::FreeObject( IJSONObject *pObject )
|
||||
{
|
||||
|
||||
pObject->Free();
|
||||
delete (CJSONObject*)pObject;
|
||||
}
|
||||
|
||||
IJSONArray *CJSONManager::CreateArray( )
|
||||
@@ -267,7 +271,8 @@ IJSONValue *CJSONManager::CreateValue( )
|
||||
|
||||
void CJSONManager::FreeValue( IJSONValue *pValue )
|
||||
{
|
||||
|
||||
pValue->Free();
|
||||
delete (CJSONValue*)pValue;
|
||||
}
|
||||
|
||||
#define NEXT_TOKEN() \
|
||||
|
||||
Reference in New Issue
Block a user