http://bugs.winehq.org/show_bug.cgi?id=13986
--- Comment #17 from Benjamin Debski benjamin.debski@gmail.com 2010-01-05 06:27:37 --- I know very little about Wine test cases but I think that the test would probably do something like create an IDirectMusicLoader object, load a sound file, dereference it and then call the IDirectMusicLoader objects release function. Probably what's happening in Hitman that's crashing Wine. The test case should pass on Windows, and in Wine with your patch applied.
Checkout the wiki: http://wiki.jswindle.com/index.php/Coding_Hints:Test_Cases