summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorLuis A. Lozano <llozano@google.com>2017-09-19 17:33:48 -0700
committerLuis A. Lozano <llozano@google.com>2017-10-09 18:06:34 -0700
commit8196d2cce90dfcafa3fe06534e2b6768a3cd034e (patch)
tree0a1c5c80d8f5800f3112254c7a89634fb1d16f47 /opengl/tests/gl_basic/gl_basic.cpp
parent71f6de410f183d27485775172cb00f9c9f59951c (diff)
Fix "use of memory after freed" warning.
Static analyzer gets confused in the code to free a linked list. To avoid confusion add an "assert" to tell the analyzer there is no alias between the memory being deleted and accessed. Bug: b/27101951 Test: Warning is gone. Change-Id: Ia6661ee76908c2025b5e1a764d25ba3e11bf44c8
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions