r600g: Fixed a bo leak in r600_texture_from_handle().
authorTilman Sauerbeck <tilman@code-monkey.de>
Thu, 9 Sep 2010 12:03:46 +0000 (14:03 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Fri, 10 Sep 2010 11:09:33 +0000 (13:09 +0200)
commitac2bddb9f2c40effb16db321db0177decea81a92
tree03dc397ff600a2cd2103ac6720607ef99add55d6
parentae23d425c2aae652f4fc61ee8dee721e8e25509e
r600g: Fixed a bo leak in r600_texture_from_handle().

We would leak bo if the argument check failed.

Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
src/gallium/drivers/r600/r600_texture.c