http://bugs.winehq.org/show_bug.cgi?id=28737
--- Comment #2 from Michael Mc Donnell michael@mcdonnell.dk 2011-10-18 14:47:41 CDT --- Created attachment 36987 --> http://bugs.winehq.org/attachment.cgi?id=36987 Patch that sets pointer to NULL after free to avoid double free
This patch fixes the valgrind warning by setting the pointer to NULL in case of failure. I'm not going to send this to wine-patches because it really needs a test as Piotr Caban says.