aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/addrbook/msoutlook/com/MsOutlookAddrBookServer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/addrbook/msoutlook/com/MsOutlookAddrBookServer.cxx')
-rw-r--r--src/native/addrbook/msoutlook/com/MsOutlookAddrBookServer.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/native/addrbook/msoutlook/com/MsOutlookAddrBookServer.cxx b/src/native/addrbook/msoutlook/com/MsOutlookAddrBookServer.cxx
index 17afb32..fb67675 100644
--- a/src/native/addrbook/msoutlook/com/MsOutlookAddrBookServer.cxx
+++ b/src/native/addrbook/msoutlook/com/MsOutlookAddrBookServer.cxx
@@ -189,6 +189,7 @@ HRESULT STDMETHODCALLTYPE MsOutlookAddrBookServer::IMAPIProp_GetProps(
if((localProps = (void**) malloc(nbPropIds * sizeof(void*))) != NULL)
{
+ memset(localProps, 0, nbPropIds * sizeof(void*));
if((localPropsLength = (unsigned long*) malloc(
nbPropIds * sizeof(unsigned long))) != NULL)
{