diff options
| author | 2011-02-27 18:40:09 -0800 | |
|---|---|---|
| committer | 2011-02-27 18:43:17 -0800 | |
| commit | a1c7e0e706bd32fec7a06456beccbdf090cb8c76 (patch) | |
| tree | f44a535e6e73b8128dc9bb3a0e916de0f40ff5ad /libs/hwui/ProgramCache.cpp | |
| parent | 097d3a4729583276df166a1f8c0336d8ebafc566 (diff) | |
surfaceflinger_client: Don't dereference NULL ptrs.
This change adds a null pointer check before dereferencing buffers in
a Surface list of known GraphicBuffer objects. If not all the buffers
have been dequeued before this list can legitimately contain NULL
entries.
Change-Id: I0e105b53a3f6f9a5404716b7bf150c793ff648a6
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions