--- chewbacca/YodaProfiler/src/R2-D2.cpp 2008/09/23 07:20:33 1.1 +++ chewbacca/YodaProfiler/src/R2-D2.cpp 2011/11/29 13:42:18 1.2 @@ -964,7 +964,11 @@ // // Close the DB connection // - if ( dbc ) dbc->Close(); + if ( dbc ){ + dbc->Close(); + delete dbc; + dbc = 0; + } // if ( !neat ) printf("\n"); //