http://bugs.winehq.org/show_bug.cgi?id=24921
--- Comment #6 from Denis Misiurca infoman1985@gmail.com 2011-07-04 08:39:02 CDT --- Created an attachment (id=35426) --> (http://bugs.winehq.org/attachment.cgi?id=35426) Fix of a similar error
This fixes the similar error in Mail.ru's Battle of the Immortals launcher. It still crashes sometimes on other X calls, but I can launch and update the game client with this. I think that if similar error handlers will be used in all critical calls such as XCreatePixmap, thee will be no more BadAllocs.