glsl: fix cut-n-paste error in error handling. (v2)
authorDave Airlie <airlied@gmail.com>
Fri, 30 Nov 2012 08:33:21 +0000 (18:33 +1000)
committerDave Airlie <airlied@gmail.com>
Sat, 1 Dec 2012 01:24:16 +0000 (11:24 +1000)
commite85c9a4d2874a302195c66742b446f0645440c43
treec0f4000c1aaccc026aea2c3e6800e976f2863ab1
parent67c8e96f5ace67f9c17556934ee9532877d3a00f
glsl: fix cut-n-paste error in error handling. (v2)

Reported by coverity scan.

v2: fix second case

Note: This is a candidate for stable branches.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glsl/ir_validate.cpp