aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/glxapi.c
diff options
context:
space:
mode:
authorRobert Ellison <[email protected]>2009-05-08 14:40:38 -0600
committerRobert Ellison <[email protected]>2009-05-08 16:32:29 -0600
commit44a4abfd4f8695809eaec07df8eeb191d6e017d7 (patch)
treeb9d73db9ca813756bffd34f86a26e13d64356985 /src/mesa/drivers/x11/glxapi.c
parentc230767d6956b63a2b101acb48f98823bb5dd31a (diff)
i965: fix segfault on low memory conditions
When out of memory (in at least one case, triggered by a longrunning memory leak), this code will segfault and crash. By checking for the out-of-memory condition, the system can continue, and will report the out-of-memory error later, a much preferable outcome.
Diffstat (limited to 'src/mesa/drivers/x11/glxapi.c')
0 files changed, 0 insertions, 0 deletions