Freeing the texture