[VALGRIND] delete error
This commit is contained in:
parent
a4c544e916
commit
479921d347
@ -80,7 +80,7 @@ bool exml::Document::load(const std::string& _file) {
|
|||||||
// convert in UTF8 :
|
// convert in UTF8 :
|
||||||
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