dwrite: File and factory are always set now for all collections.
This commit is contained in:
parent
1e0b934139
commit
3fd93c0d1d
|
@ -203,10 +203,7 @@ static void release_font_data(struct dwrite_font_data *data)
|
|||
IDWriteLocalizedStrings_Release(data->info_strings[i]);
|
||||
}
|
||||
|
||||
/* FIXME: factory and file will be always set once system collection is working */
|
||||
if (data->file)
|
||||
IDWriteFontFile_Release(data->file);
|
||||
if (data->factory)
|
||||
IDWriteFactory_Release(data->factory);
|
||||
heap_free(data->facename);
|
||||
heap_free(data);
|
||||
|
|
Loading…
Reference in New Issue