[PATCH] shcore: Fix path string leak for file streams (Valgrind)
14 Dec
2018
14 Dec
'18
12:59 a.m.
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> --- dlls/shcore/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/shcore/main.c b/dlls/shcore/main.c index a544f27006..ac625fb746 100644 --- a/dlls/shcore/main.c +++ b/dlls/shcore/main.c @@ -839,6 +839,7 @@ static ULONG WINAPI filestream_Release(IStream *iface) if (!refcount) { CloseHandle(stream->u.file.handle); + heap_free(stream->u.file.path); heap_free(stream); } -- 2.19.2
2561
Age (days ago)
2561
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov