Commit 0e966cbf authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

shcore: Fix path string leak for file streams (Valgrind).

parent 392bce96
...@@ -839,6 +839,7 @@ static ULONG WINAPI filestream_Release(IStream *iface) ...@@ -839,6 +839,7 @@ static ULONG WINAPI filestream_Release(IStream *iface)
if (!refcount) if (!refcount)
{ {
CloseHandle(stream->u.file.handle); CloseHandle(stream->u.file.handle);
heap_free(stream->u.file.path);
heap_free(stream); heap_free(stream);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment