Skip to content

mesa/st: Fix use-after-free of the draw VS.

Emma Anholt requested to merge anholt/mesa:st-draw-use-after-free into master

If the program with a draw variant gets deleted, it could leave a dangling pointer in st's draw module that would get referenced next state update of a draw fallback.

Fixes a valgrind complaint in piglit's rasterpos test, which is flaky on softpipe (but not due to this).

Merge request reports