client: Do not leak buffer tree node on exit.