[VALGRIND] delete error
This commit is contained in:
parent
ad2d06e436
commit
226d95135c
@ -84,7 +84,7 @@ bool ejson::Document::load(const std::string& _file) {
|
||||
|
||||
std::string tmpDataUnicode(fileBuffer);
|
||||
// remove temporary buffer:
|
||||
delete(fileBuffer);
|
||||
delete[] fileBuffer;
|
||||
// parse the data :
|
||||
bool ret = parse(tmpDataUnicode);
|
||||
//Display();
|
||||
|
Loading…
x
Reference in New Issue
Block a user