--- DarthVader/NDLevel2/src/ND_LEVEL2.cpp 2006/09/05 14:49:42 1.2 +++ DarthVader/NDLevel2/src/ND_LEVEL2.cpp 2011/11/29 13:51:29 1.3 @@ -201,6 +201,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.