summaryrefslogtreecommitdiff
path: root/sal/rtl/alloc_global.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/rtl/alloc_global.cxx')
-rw-r--r--sal/rtl/alloc_global.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/alloc_global.cxx b/sal/rtl/alloc_global.cxx
index 69313708e3e5..60dbc9c85b78 100644
--- a/sal/rtl/alloc_global.cxx
+++ b/sal/rtl/alloc_global.cxx
@@ -374,7 +374,7 @@ void SAL_CALL rtl_freeZeroMemory (void * p, sal_Size n) SAL_THROW_EXTERN_C()
{
if (p != 0)
{
- memset (p, 0, n);
+ rtl_secureZeroMemory (p, n);
rtl_freeMemory (p);
}
}