i965: Fix refcount leak of the gl_program structure.
authorEric Anholt <eric@anholt.net>
Thu, 12 Jan 2012 20:55:06 +0000 (12:55 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 18 Jan 2012 17:59:12 +0000 (09:59 -0800)
commitb2be4869624443cd9769bd696b11dd587494b62a
tree61aa4074bbe2884b257b22a4d211e77349ed148e
parentb972744c78e45928876ea781b9eeef09b3baf083
i965: Fix refcount leak of the gl_program structure.

Fixes a leak of almost 200kb on a minimal shader_runner program
(algebraic-add-add-1).

NOTE: This is a candidate for the 8.0 branch.
src/mesa/drivers/dri/i965/brw_shader.cpp