SERVER-10843 tested c++ client driver,valgrind memory leak 

when app exited,memory leak,in testing c++ driver (tutorial  example).