Checking for leaking globals