Implemented exitDb()

This commit is contained in:
Christian
2016-05-23 21:58:00 +02:00
parent 2fc768ea45
commit a323b15211

17
tvsp.c
View File

@@ -144,7 +144,22 @@ int Tvsp::ready() {
}
int Tvsp::exitDb() {
return Plugin::exitDb();
delete stmtByFileRef;
stmtByFileRef = NULL;
delete selectByTag;
selectByTag = NULL;
delete selectDistBySource;
selectDistBySource = NULL;
delete selectId;
selectId = NULL;
delete stmtMarkOldEvents;
stmtMarkOldEvents = NULL;
return success;
}
int Tvsp::atConfigItem(const char *Name, const char *Value) {