mesa: Increment the list pointer while freeing instruction data
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 22 Jan 2014 00:52:42 +0000 (16:52 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 24 Jan 2014 21:43:10 +0000 (13:43 -0800)
commitc11d76c51a29ed4fe02a8c46ba9fd64083f155ed
tree5c3a48a7d782fdbc69e8f02800faf28f379d932a
parenta44554870ef4d5bc42c4b34aa1ce8d6979ddd92c
mesa: Increment the list pointer while freeing instruction data

Since the list pointer was never incremented when a OPCODE_PIXEL_MAP
opcode was encountered, the data for the instruction would get freed
over and over and over... resulting in a crash.

Fixes gl-1.0-beginend-coverage.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72214
Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: Lu Ha <huax.lu@intel.com>
src/mesa/main/dlist.c