elmindreda/glfw — pull request #55 by johnbartholomew (2013-05-01 12:15:59+00:00)
Title: Allocate memory through wrapper functions which check for success.

This is a compromise between the exorbitant cost of gracefully handling any allocation failure (exorbitant since allocation failure is so unlikely and clean recovery after failure is so difficult), and the risk of an allocation failure remaining undetected until a later access, which can make it harder to determine the cause of the problem.