Text3D : fix memory leak