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>
This commit is contained in:
parent
91ed2a81c1
commit
a40bca8866
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue