1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-4043 Fix memory leaks - 2

Perform deletes of Compare objects in the OrderByData dtor,
which were allocated by CompareRule::compileRules().
This commit is contained in:
Gagan Goel
2020-06-11 19:21:11 -04:00
parent feee26f1ab
commit 6c05717b4c
2 changed files with 19 additions and 1 deletions

View File

@ -338,7 +338,7 @@ class OrderByData : public IdbCompare
{
public:
OrderByData(const std::vector<IdbSortSpec>&, const rowgroup::RowGroup&);
virtual ~OrderByData() {};
virtual ~OrderByData();
bool operator() (rowgroup::Row::Pointer p1, rowgroup::Row::Pointer p2)
{