gdiplus: return a NULL bitmap when GdipCreateBitmapFromScan0 fails
vincent at codeweavers.com
Tue Mar 3 16:17:52 CST 2009
Synthmaker (bug 15425) apparently does not check whether the call failed before disposing the image. Disposing the bogus image we give it causes a crash, but disposing NULL does not.
This gets the program to run slightly longer before crashing.
Perhaps the call should not be failing in this case, but we also should not give the address of a freed bitmap.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the wine-patches