Create select.cc and check for memory leaks.