Fix texture_free usage