Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/sechost/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/sechost/service.c b/dlls/sechost/service.c index e4e152b0824..c447263bd0f 100644 --- a/dlls/sechost/service.c +++ b/dlls/sechost/service.c @@ -1020,7 +1020,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH StartServiceA( SC_HANDLE service, DWORD argc, cons BOOL r;
if (argc) - argvW = heap_alloc( argc * sizeof(WCHAR) ); + argvW = heap_alloc( argc * sizeof(*argvW) );
for (i = 0; i < argc; i++) argvW[i] = heap_strdupAtoW( argv[i] );