summaryrefslogtreecommitdiffstats
path: root/binaryurp/source/unmarshal.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'binaryurp/source/unmarshal.cxx')
-rw-r--r--binaryurp/source/unmarshal.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryurp/source/unmarshal.cxx b/binaryurp/source/unmarshal.cxx
index 3ea3d2058553..41145ccffca5 100644
--- a/binaryurp/source/unmarshal.cxx
+++ b/binaryurp/source/unmarshal.cxx
@@ -55,7 +55,7 @@ namespace binaryurp {
namespace {
void * allocate(sal_Size size) {
- void * p = rtl_allocateMemory(size);
+ void * p = std::malloc(size);
if (p == nullptr) {
throw std::bad_alloc();
}