update add leak check for object pool.