Commit 42b05ea3 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Add missing sizeof(WCHAR) multiplier.

parent 185526d3
......@@ -915,7 +915,7 @@ static UINT ACTION_AppSearchDr(MSIPACKAGE *package, LPWSTR *appValue,
msi_free(path);
if (parent)
{
path = msi_alloc(strlenW(parent) + strlenW(expanded) + 1);
path = msi_alloc((strlenW(parent) + strlenW(expanded) + 1) * sizeof(WCHAR));
if (!path)
goto end;
strcpyW(path, parent);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment