intel: Fix improper freeing of texture data in TFP.
authorEric Anholt <eric@anholt.net>
Wed, 21 Sep 2011 22:17:36 +0000 (15:17 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 26 Sep 2011 22:33:42 +0000 (15:33 -0700)
commitd430e81c3287eba4ee84ca1639a23f92bbe22c8e
treeddbac85c877e544b93339792104458a7f11a79d9
parentfdd4961443d0fbb968c07f5b693c45785ae416f5
intel: Fix improper freeing of texture data in TFP.

If there happened to be ->Data present, we assertion failed instead of
handling it correctly.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35234
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_tex_image.c