--- DarthVader/AnticounterLevel2/src/AnticounterLevel2.cpp 2006/09/05 14:49:40 1.2 +++ DarthVader/AnticounterLevel2/src/AnticounterLevel2.cpp 2011/11/29 13:44:46 1.3 @@ -180,6 +180,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.