Fix memory leak in Host.