https://bugs.winehq.org/show_bug.cgi?id=50163
--- Comment #3 from Piotr Caban piotr.caban@gmail.com --- I guess it's because we don't increase the locale->locinfo->lc_category[i].wrefcount in get_current_locale. I'll test with the application before sending the patch.