Piotr Caban : d3dx10/tests: Fix texture leak in check_resource_data.