mesa: Fix NULL deref in optimizer when NumInstructions == 0.
authorEric Anholt <eric@anholt.net>
Fri, 20 Nov 2009 20:42:06 +0000 (21:42 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 20 Nov 2009 20:46:48 +0000 (21:46 +0100)
commitc4e8918cd248189d43cdc8df9f9f0450040261c5
tree1c4a1894408e6a18ef90717a11be6134d8c19ff6
parent48deddaa6f81e58f0ad6ab1c6cbd31c0184a0a3b
mesa: Fix NULL deref in optimizer when NumInstructions == 0.

Bug #24984.
src/mesa/shader/prog_optimize.c