[PATCH] shcore: Fix path string leak for file streams (Valgrind)
13 Dec
2018
13 Dec
'18
6:59 p.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
2646
Age (days ago)
2646
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nikolay Sivov