Index: lib/connection.cpp
===================================================================
--- lib/connection.cpp	(revision 2688)
+++ lib/connection.cpp	(working copy)
@@ -49,7 +49,9 @@
 driver_(new DBDriver()),
 copacetic_(true)
 {
+    std::auto_ptr<DBDriver> guard(driver_);
 	connect(db, server, user, password, port);
+    guard.release();
 }
 
 
@@ -57,7 +59,9 @@
 OptionalExceptions(),
 driver_(new DBDriver(*other.driver_))
 {
+    std::auto_ptr<DBDriver> guard(driver_);
 	copy(other);
+    guard.release();
 }
 
 
