diff options
author | Brian Paul <[email protected]> | 2014-05-15 15:49:14 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-05-16 07:14:57 -0600 |
commit | ef6b6658f91bd5871739bdb71a08042f26abe389 (patch) | |
tree | 5eeb0ac83b2b5c0f9fcd8429c74835a3db89a8a1 /src/gallium/drivers/llvmpipe/lp_test_arit.c | |
parent | 730bc124c39f4a2ed9fea53959676bca150ae4d3 (diff) |
mesa: fix double-freeing of dispatch tables inside glBegin/End.
We allocate dispatch tables for BeginEnd and OutsideBeginEnd. But
when we destroy the context we were freeing the BeginEnd and Exec
tables. If Exec==BeginEnd we did a double-free. This would happen
if the context was destroyed while inside a glBegin/End pair. Now
free the BeginEnd and OutsideBeginEnd pointers.
Cc: "10.1", "10.2" <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_test_arit.c')
0 files changed, 0 insertions, 0 deletions