Merge pull request #11 from santazhang/fix-leak
fix memory leak in SQLStatementList
This commit is contained in:
commit
53ce86f524
|
@ -62,6 +62,9 @@ public:
|
|||
};
|
||||
|
||||
virtual ~SQLStatementList() {
|
||||
for (std::vector<SQLStatement*>::iterator it = statements.begin(); it != statements.end(); ++it) {
|
||||
delete *it;
|
||||
}
|
||||
delete parser_msg;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue