diff options
author | 2016-11-11 14:34:46 +0100 | |
---|---|---|
committer | 2016-11-11 16:12:01 +0100 | |
commit | 7c765ea14785a4ad6efd2e30e03447f354bed6b4 (patch) | |
tree | 8c1e3836d1c907378f61bb5748aac4219af68ce4 /src/lib/util/corefile.cpp | |
parent | 5c0edceec3a939ce7804b23beaeebfc700413489 (diff) |
No need for osd_malloc, osd_malloc_array and osd_free (nw)
MALLOC_DEBUG not applicable anymore since we use new to allocate in 99.9% of cases
Diffstat (limited to 'src/lib/util/corefile.cpp')
-rw-r--r-- | src/lib/util/corefile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/corefile.cpp b/src/lib/util/corefile.cpp index 76b788174ab..264d80f4113 100644 --- a/src/lib/util/corefile.cpp +++ b/src/lib/util/corefile.cpp @@ -1207,7 +1207,7 @@ osd_file::error core_file::load(std::string const &filename, void **data, std::u return osd_file::error::OUT_OF_MEMORY; // allocate memory - *data = osd_malloc(size); + *data = malloc(size); length = std::uint32_t(size); // read the data |