fix memory leak in SQLStatementList
This commit is contained in:
parent
b1622ce71d
commit
61a1e65319
|
@ -62,6 +62,9 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
virtual ~SQLStatementList() {
|
virtual ~SQLStatementList() {
|
||||||
|
for (std::vector<SQLStatement*>::iterator it = statements.begin(); it != statements.end(); ++it) {
|
||||||
|
delete *it;
|
||||||
|
}
|
||||||
delete parser_msg;
|
delete parser_msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue