updated to latest cpp-driver.
fixed some memory leaks.