http://bugs.winehq.org/show_bug.cgi?id=5217
------- Additional Comments From dank@kegel.com 2006-15-05 01:25 ------- According to http://blogs.msdn.com/oldnewthing/archive/2004/07/05/173226.aspx there are convenience functions CoTaskMem{Alloc,Realloc,Free} which can be used instead of calling CoGetMalloc and using that interface. And indeed those get used quite a bit in Wine's ole and oleaut32 code. So I tried the obvious patch, but now things fall over much earlier. I'll attach it as food for thought.