Gdi: Check for NULL pointers returned by HeapAlloc

Robert Shearman R.J.Shearman at warwick.ac.uk
Mon Mar 8 19:43:54 CST 2004


Hi,

Naturally, HeapAlloc can return NULL if out-of-memory or of the heap is
corrupted. Fail gracefully if that happens.

Rob

Changelog:
Check for NULL pointers returned by HeapAlloc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdi.diff
Type: text/x-patch
Size: 750 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040309/a395a90a/gdi.bin


More information about the wine-patches mailing list