mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-20 00:09:46 +00:00
mapi32: Initialize several string buffers.
This commit is contained in:
parent
92a74a8271
commit
c565a8382a
|
@ -127,16 +127,19 @@ ULONG WINAPI MAPISendMail( LHANDLE session, ULONG_PTR uiparam,
|
|||
{
|
||||
to = HeapAlloc( GetProcessHeap(), 0, to_size );
|
||||
if (!to) goto exit;
|
||||
to[0] = 0;
|
||||
}
|
||||
if (cc_size)
|
||||
{
|
||||
cc = HeapAlloc( GetProcessHeap(), 0, cc_size );
|
||||
if (!cc) goto exit;
|
||||
cc[0] = 0;
|
||||
}
|
||||
if (bcc_size)
|
||||
{
|
||||
bcc = HeapAlloc( GetProcessHeap(), 0, bcc_size );
|
||||
if (!bcc) goto exit;
|
||||
bcc[0] = 0;
|
||||
}
|
||||
|
||||
if (message->lpOriginator)
|
||||
|
|
Loading…
Reference in a new issue