diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-06-03 20:01:17 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-06-03 20:01:17 +0100 |
commit | 7178416155aa7e2debbe6f6853f35554f5565905 (patch) | |
tree | 9a56c5eaf1afa926a6b377b2e7054d88553ca64c | |
parent | Prebuild (once) SQL for cursor operations. (diff) | |
download | project2-7178416155aa7e2debbe6f6853f35554f5565905.tar.bz2 project2-7178416155aa7e2debbe6f6853f35554f5565905.tar.xz project2-7178416155aa7e2debbe6f6853f35554f5565905.zip |
Close master connection to database when deleting mock
-rw-r--r-- | project2/sql/mockDatabase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/project2/sql/mockDatabase.cpp b/project2/sql/mockDatabase.cpp index a9f812d..96b4ac9 100644 --- a/project2/sql/mockDatabase.cpp +++ b/project2/sql/mockDatabase.cpp @@ -98,6 +98,7 @@ MockServerDatabase::MockServerDatabase(const std::string & masterdb, const std:: MockServerDatabase::~MockServerDatabase() { + delete master; } void |