summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/aststack.cxx4
-rw-r--r--idlc/source/idlccompile.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/idlc/source/aststack.cxx b/idlc/source/aststack.cxx
index f5a3315e3b24..464879794d53 100644
--- a/idlc/source/aststack.cxx
+++ b/idlc/source/aststack.cxx
@@ -38,7 +38,7 @@ AstStack::~AstStack()
delete m_stack[i];
}
- rtl_freeMemory(m_stack);
+ std::free(m_stack);
}
@@ -97,7 +97,7 @@ AstStack* AstStack::push(AstScope* pScope)
for(i=0; i < m_size; i++)
tmp[i] = m_stack[i];
- rtl_freeMemory(m_stack);
+ std::free(m_stack);
m_stack = tmp;
}
diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx
index c8a389025325..8d6386b66a44 100644
--- a/idlc/source/idlccompile.cxx
+++ b/idlc/source/idlccompile.cxx
@@ -344,11 +344,11 @@ sal_Int32 compileFile(const OString * pathname)
pathname == nullptr ? "" : "file ", fileName.getStr());
osl_freeProcessHandle(hProcess);
- rtl_freeMemory(pCmdArgs);
+ std::free(pCmdArgs);
exit(hInfo.Code ? hInfo.Code : 99);
}
osl_freeProcessHandle(hProcess);
- rtl_freeMemory(pCmdArgs);
+ std::free(pCmdArgs);
if (unlink(tmpFile.getStr()) != 0)
{