https://bugs.winehq.org/show_bug.cgi?id=34635
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
--- Comment #6 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- The Application does the following.
Creates DirectInput object Ref 1 Creates Keyboard, keyboard ref 1, DirectInput ref 2 Creates Mouse, mouse ref 1, DirectInput ref 3
Frees Keyboard (ref 0, DirectInput ref 2) Frees DirectInput object Ref 1 <-- Error message just after this.
NOTE: It doesn't free the mouse device.
Each of wine's DirectInput devices (Mouse,Keyboard,Joysticks) hold a reference to DirectInput, where as native doesn't.