summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorChia-I Wu <olv@google.com>2017-06-15 12:53:59 -0700
committerChia-I Wu <olv@google.com>2017-06-16 16:30:05 -0700
commitfae51c438827ae0a55c1b83c0e9be348254bfbd4 (patch)
tree376dbc36387cdf7bdedadcfffd0fbcb928f2b498 /opengl/tests/gl_basic/gl_basic.cpp
parent515dc9c538b8206b746eeb4906ac0b8aed1fb497 (diff)
surfaceflinger: fix a potential child layer leak
We should not remove a child layer from its already removed parent. Call p->removeChild only after we've checked that the ancestor is alive. Apply e6b63e1ae12692327f7e46d5f10d6ade5a7bf192 and this fix to SurfaceFlinger_hwc1.cpp as well. Bug: 37121786 Test: manual stress test Change-Id: I7b811450a998acc4ad9690bd4eda058ce6588e14
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions