winspool: Initialize string pointers passed to StartDocDlgW() (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-12-22 13:02:01 +03:00 committed by Alexandre Julliard
parent c28816cc37
commit a3aad9d80f
1 changed files with 1 additions and 1 deletions

View File

@ -8556,7 +8556,7 @@ end:
LPSTR WINAPI StartDocDlgA( HANDLE hPrinter, DOCINFOA *doc )
{
UNICODE_STRING usBuffer;
DOCINFOW docW;
DOCINFOW docW = { 0 };
LPWSTR retW;
LPWSTR docnameW = NULL, outputW = NULL, datatypeW = NULL;
LPSTR ret = NULL;