diff options
author | Brian Paul <[email protected]> | 2009-02-13 08:11:01 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-13 08:11:01 -0700 |
commit | ac53b1b0345f10f988c412af528bfd38052acab5 (patch) | |
tree | c4bc4288550e7b0c5eee429587aaac6ce33aa2b1 /src/glew/Makefile | |
parent | 6559107c7ae67ae6a94f53728cad85137aaf6312 (diff) |
mesa: check if TNL state is null in _tnl_free_vertices() to avoid potential segfault
_tnl_free_vertices() is called from several places during context tear-down.
Depending on the order in which the swrast, swrast_setup and tnl context is
destroyed we could hit a null pointer here. This doesn't seem to be an
actual issue with any Mesa drivers, but let's be safe.
Diffstat (limited to 'src/glew/Makefile')
0 files changed, 0 insertions, 0 deletions