diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/xml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/xml.cpp b/src/utils/xml.cpp index 76d9f857..341f34c0 100644 --- a/src/utils/xml.cpp +++ b/src/utils/xml.cpp @@ -52,7 +52,7 @@ namespace XML size = file.tellg(); file.seekg(0, std::ios::beg); - data = new char[size]; + data = (char*) malloc(size); file.read(data, size); file.close(); |