[Bug 34635] When quitting Die by the Sword a DirectInput failure message shows up

WineHQ Bugzilla wine-bugs at winehq.org
Wed Oct 16 22:17:19 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=34635

Alistair Leslie-Hughes <leslie_alistair at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |leslie_alistair at hotmail.com

--- Comment #6 from Alistair Leslie-Hughes <leslie_alistair at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list