Commit d829c50c authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Fix streams and files pointer arrays leak (Valgrind).

parent 4e888524
......@@ -431,6 +431,8 @@ static ULONG WINAPI dwritefontface_Release(IDWriteFontFace2 *iface)
if (This->files[i])
IDWriteFontFile_Release(This->files[i]);
}
heap_free(This->streams);
heap_free(This->files);
for (i = 0; i < sizeof(This->glyphs)/sizeof(This->glyphs[0]); i++)
heap_free(This->glyphs[i]);
......
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