fix memory leak in SQLStatementList

This commit is contained in:
Santa Zhang 2015-10-30 22:25:26 -04:00
parent b1622ce71d
commit 61a1e65319
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ public:
};
virtual ~SQLStatementList() {
for (std::vector<SQLStatement*>::iterator it = statements.begin(); it != statements.end(); ++it) {
delete *it;
}
delete parser_msg;
}