[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);
|
std::string tmpDataUnicode(fileBuffer);
|
||||||
// remove temporary buffer:
|
// remove temporary buffer:
|
||||||
delete(fileBuffer);
|
delete[] fileBuffer;
|
||||||
// parse the data :
|
// parse the data :
|
||||||
bool ret = parse(tmpDataUnicode);
|
bool ret = parse(tmpDataUnicode);
|
||||||
//Display();
|
//Display();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user