From: Nikolay Sivov Subject: [PATCH] shcore: Fix path string leak for file streams (Valgrind) Message-Id: <20181214005907.11715-1-nsivov@codeweavers.com> Date: Fri, 14 Dec 2018 03:59:07 +0300 Signed-off-by: Nikolay Sivov --- 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