http://bugs.winehq.org/show_bug.cgi?id=21568
--- Comment #4 from Austin Lund austin.lund@gmail.com 2010-07-09 22:46:40 --- 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.