In bind_inputs() set VB->EdgeFlag to NULL if it's not needed.
authorBrian <brian@yutani.localnet.net>
Tue, 17 Apr 2007 16:19:47 +0000 (10:19 -0600)
committerBrian <brian@yutani.localnet.net>
Tue, 17 Apr 2007 16:19:47 +0000 (10:19 -0600)
commitd2d86a3f0b38716196ea2b3ffa4cbbd0420de1b3
treecb05396b2fb5407f478690e9cebcbcca7eb72ac9
parent9cbcf7c696372c680c87cf60c2e290e78e9e14c8
In bind_inputs() set VB->EdgeFlag to NULL if it's not needed.

Otherwise, the clip/interp code was finding VB->EdgeFlag to be non-null and
reading/writing it when the memory may have been freed earlier in free_space().
This fixes several VTK segfaults/failures reported by Brad King @ Kitware.
src/mesa/tnl/t_draw.c