Likely fix for 1233113

This commit is contained in:
Andrew McDonnell 2013-10-03 20:34:03 +09:30
parent aefcd57880
commit 549cee850f

View file

@ -700,9 +700,12 @@ namespace open_query
// Because otherwise things can happen and we havent freed a resource since the end of the last query...
void oqgraph::release_cursor() throw() {
if (share->g._cursor) {
// Make sure refs all freed before deleting share->g._cursor
share->g._rnd_cursor = 0;
delete cursor; cursor = 0;
delete share->g._cursor;
share->g._cursor = NULL;
}
delete cursor; cursor= 0;
row_info= empty_row;
}