Module: wine Branch: master Commit: a40bca8866a83d29bc90a2a44cdd1ce81feac4a1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a40bca8866a83d29bc90a2a44c...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue Nov 10 23:30:59 2015 +0300
mshtml: Fix a memory leak (Coverity).
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mshtml/nsembed.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c index 93f4277..866b712 100644 --- a/dlls/mshtml/nsembed.c +++ b/dlls/mshtml/nsembed.c @@ -481,6 +481,7 @@ static void set_environment(LPCWSTR gre_path) strcpyW(path+len, gre_path); SetEnvironmentVariableW(pathW, path); } + heap_free(path); }
static BOOL load_xul(const PRUnichar *gre_path)