Huw Davies (@huw) commented about dlls/riched20/style.c:
release_font_cache( s->font_cache ); s->font_cache = NULL;
}
- ScriptFreeCache( &s->script_cache );
- ScriptFreeCache( s->script_cache );
This doesn't look right. There may now be other styles (with the same font) sharing the script_cache.