update leak-check.rb