From 42b05ea311514414198293b609b96435877739ba Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Mon, 9 Oct 2006 13:53:35 -0700 Subject: [PATCH] msi: Add missing sizeof(WCHAR) multiplier. --- dlls/msi/appsearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index dc271a4010..e36d20c41f 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -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); -- 2.32.0.93.g670b81a890