https://bugs.winehq.org/show_bug.cgi?id=46520
Bug ID: 46520 Summary: Kindred Spirits on the Roof crashes Product: Wine Version: 4.0 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: msacm32 Assignee: wine-bugs@winehq.org Reporter: zzhang@codeweavers.com Distribution: ---
Created attachment 63377 --> https://bugs.winehq.org/attachment.cgi?id=63377 patch
One local driver can be assigned to multiple driver ids. When releasing the driver id, check if the reference count of a local driver is one before actually releasing the local driver.
related report: https://github.com/ValveSoftware/Proton/issues/210