--- DarthVader/TriggerLevel2/src/TriggerLevel2.cpp 2006/09/05 14:49:51 1.2 +++ DarthVader/TriggerLevel2/src/TriggerLevel2.cpp 2011/11/29 15:23:44 1.3 @@ -190,6 +190,8 @@ // printf("\nClose the connection to the database... \n"); dbc->Close(); + delete dbc; + dbc = 0; printf("...connection terminated!\n\n"); // // Close redirection if the case.