i965/fs: Actually free program data on the error path.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 14 May 2014 08:04:02 +0000 (01:04 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 May 2014 06:35:20 +0000 (23:35 -0700)
commit81b11bf0934d5387bd3741b6268501df3973a6a7
treead2aa2d6f562f0af4c91e66ca07f47e36b8b1796
parentc96fdeb723dd92ec7dfed908e41e6ad401c36ff3
i965/fs: Actually free program data on the error path.

We throw away the data generated during compilation on the success path,
so we really ought to on the failure path as well.  The caller has no
access to it anyway, so it's purely leaked.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_wm.c