commit | 44a4abfd4f8695809eaec07df8eeb191d6e017d7 | [log] [tgz] |
---|---|---|
author | Robert Ellison <papillo@vmware.com> | Fri May 08 14:40:38 2009 -0600 |
committer | Robert Ellison <papillo@vmware.com> | Fri May 08 16:32:29 2009 -0600 |
tree | b9d73db9ca813756bffd34f86a26e13d64356985 | |
parent | c230767d6956b63a2b101acb48f98823bb5dd31a [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.