diff options
author | Peter Hutterer <whot@potoroo.wearablelab.ml.unisa.edu.au> | 2008-04-06 09:02:57 +0930 |
---|---|---|
committer | Peter Hutterer <whot@potoroo.wearablelab.ml.unisa.edu.au> | 2008-04-06 09:02:57 +0930 |
commit | b46a00918691cbd5ca80b6d3acae7614f93e073b (patch) | |
tree | 6f81cbd6e3ce78b3be8e15568c4fb71e70af96cf /dix/main.c | |
parent | 638a50552e3e2190eac9721deb72e7365bdd52e4 (diff) |
dix: sprite may be NULL, don't dereference it then.
In some rare cases (e.g. when the init fails) a device's sprite is NULL,
dereferencing it to xfree the spriteTrace is a bad idea then.
Diffstat (limited to 'dix/main.c')
0 files changed, 0 insertions, 0 deletions