summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Dave Sparks <davidsparks@android.com> 2009-10-15 10:02:22 -0700
committer Dave Sparks <davidsparks@android.com> 2009-10-15 15:18:08 -0700
commit393eb7967f6b5acaf82d67b0e686b921b977f461 (patch)
tree46ee03532f785c02a10d2c24593f3a70a7c3f4dd /opengl/libagl/array.cpp
parent39c999a537e4aacf95f617c8763c2cfb0d842838 (diff)
Don't callback on NULL client. Bug 2180510.
We weren't checking to see if there was a valid camera client when calling the notify callback function. Now we grab a strong pointer before the callback to guarantee that the client is not destroyed before we complete the callback. This change also fixes other places in the code where we weren't holding a local strong pointer.
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions