Important Bug fix:
- Fixed memory errors and leaks in DataTreeCore: - Initial values not set correctly for Name, Next/PrevPeer - Correctly set Last/FirstChild & Prev/NextPeer references on delete - Added methods SetValuePtr() - Fixed memory errors and leaks in JSONparseCore: - Set set string/int/float values by passing pointers, ie. SetValuePtr()
This commit is contained in:
@@ -41,7 +41,8 @@ class CDataMember
|
||||
CDataMember * CreateChild( const char * Name, const int Len = -1 );
|
||||
|
||||
// Set Member value
|
||||
bool SetValue( EDataType Type, const char * Value = NULL, int Len = -1 );
|
||||
bool SetValue( EDataType Type, const char * Value = NULL, int Len = -1 );
|
||||
bool SetValuePtr( EDataType pType, const char * pValue, int pLen = -1 );
|
||||
|
||||
public:
|
||||
CDataMember( const char * pName = NULL, const int pLen = -1 );
|
||||
|
||||
Reference in New Issue
Block a user