summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Jamie Gennis <jgennis@google.com> 2011-02-27 18:40:09 -0800
committer Jamie Gennis <jgennis@google.com> 2011-02-27 18:43:17 -0800
commita1c7e0e706bd32fec7a06456beccbdf090cb8c76 (patch)
treef44a535e6e73b8128dc9bb3a0e916de0f40ff5ad /libs/hwui/ProgramCache.cpp
parent097d3a4729583276df166a1f8c0336d8ebafc566 (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