diff options
author | Bryce Harrington <bryce@canonical.com> | 2011-02-04 00:15:13 -0800 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-04 08:57:11 +0000 |
commit | 6e721e098b9181e8e77e314f966729d28e705582 (patch) | |
tree | 984764f409bc8d8b46f3e4390407daf1446eb97b /m4 | |
parent | da990536eca09c6de74627541cd56ecfad925eda (diff) |
Check return value of uxa_acquire_solid() since it can return NULL
uxa_acquire_solid returns NULL under OOM. Thus the value of solid
must be checked before dereferencing it in the uxa_get_offscreen()
call.
Signed-off-by: Bryce Harrington <bryce@canonical.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions