Skip to content

Commit

Permalink
Fixed another leak, addressing issue #94
Browse files Browse the repository at this point in the history
  • Loading branch information
CerielJacobs committed Jan 26, 2022
1 parent 2e93bf2 commit 90a98f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vlog/inmemory/inmemorytable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ void InmemoryTable::query(QSQQuery *query, TupleTable *outputTable,
}
outputTable->addRow(row);
}
delete iter;
} else {
EDBIterator *iter = getSortedIterator2(*lit, *posToFilter);
std::vector<Term_t *> values(valuesToFilter->size() / posToFilter->size());
Expand Down Expand Up @@ -369,6 +370,7 @@ void InmemoryTable::query(QSQQuery *query, TupleTable *outputTable,
}
outputTable->addRow(row);
}
delete iter;
}
}

Expand Down

0 comments on commit 90a98f7

Please sign in to comment.