From a49838f24e9cfded845b006e9f6189209f306d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Fri, 25 Nov 2022 16:11:48 +0100 Subject: [PATCH] mshtml: Free wine_get_dos_file_name memory with HeapFree. --- dlls/mshtml/nsembed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c index 66dd3f1d65e..8fb3b2a52ed 100644 --- a/dlls/mshtml/nsembed.c +++ b/dlls/mshtml/nsembed.c @@ -763,7 +763,7 @@ static WCHAR *find_wine_gecko_unix(const char *unix_path) ret = check_version(dos_dir); - free(dos_dir); + HeapFree(GetProcessHeap(), 0, dos_dir); return ret; }