[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: [PATCH] dwrite: Release file streams when building collections.
From: Nikolay Sivov <nsivov () codeweavers ! com>
Date: 2018-10-31 12:34:11
Message-ID: 20181031123411.3369-1-nsivov () codeweavers ! com
[Download RAW message or body]
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
---
dlls/dwrite/font.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index 5fc0de733d..6666249864 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -3883,6 +3883,8 @@ HRESULT create_font_collection(IDWriteFactory5 *factory, IDWriteFontFileEnumerat
if (FAILED(hr))
break;
}
+
+ IDWriteFontFileStream_Release(stream);
}
LIST_FOR_EACH_ENTRY_SAFE(fileenum, fileenum2, &scannedfiles, struct fontfile_enum, entry) {
--
2.19.1
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic