http://bugs.winehq.org/show_bug.cgi?id=21568
--- Comment #5 from Juan Lang juan_lang@yahoo.com 2010-07-12 11:56:37 --- (In reply to comment #4)
OK. So wine needs to be fixed. Is there a way to know if a pointer has been freed? Just looking through MSDN it seems there isn't. If that's the case then a list of valid handles will need to be kept to avoid referencing freed memory. Unless there is another option.
Wine doesn't need to be fixed, the tests need to be fixed not to crash when +heap is enabled. The app itself is buggy, there's no guarantee it wouldn't crash with a different heap implementation under Windows.