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