diff options
author | Bertram <bertram@cegetel.net> | 2010-03-03 23:46:01 +0100 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2010-03-03 23:46:01 +0100 |
commit | 49dc599f6390fc427e19bd02a1f2e26f242700c8 (patch) | |
tree | 86a62a3dff089dc0c0f9eec0d46e18356acf88cc /src | |
parent | 1e52781e7d425cffcc6a5319b4cb5bf5eebe2ea9 (diff) | |
parent | 6e68568d9fb44762e4c3257b505e8b67ac1f70fe (diff) | |
download | mana-49dc599f6390fc427e19bd02a1f2e26f242700c8.tar.gz mana-49dc599f6390fc427e19bd02a1f2e26f242700c8.tar.bz2 mana-49dc599f6390fc427e19bd02a1f2e26f242700c8.tar.xz mana-49dc599f6390fc427e19bd02a1f2e26f242700c8.zip |
Merge branch 'master' of gitorious.org:mana/mana
Diffstat (limited to 'src')
-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(); |