From 2c405c746866fb3b07b7df77fd57be78bbc3669b Mon Sep 17 00:00:00 2001 From: Fabian Maurer Date: Sat, 23 Apr 2022 20:17:25 +0200 Subject: [PATCH] mscoree: Use LocalFree for memory allocated by LocalAlloc. Signed-off-by: Fabian Maurer Signed-off-by: Esme Povirk Signed-off-by: Alexandre Julliard --- dlls/mscoree/corruntimehost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c index 54b72091bf5..1651ca69d29 100644 --- a/dlls/mscoree/corruntimehost.c +++ b/dlls/mscoree/corruntimehost.c @@ -1093,7 +1093,7 @@ static void get_utf8_args(int *argc, char ***argv) (*argv)[*argc] = NULL; - HeapFree(GetProcessHeap(), 0, argvw); + LocalFree(argvw); } #if __i386__