Trying to track down transfer memory leak