Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plug memory leak in COMPACT_COUNT_DISTINCT's push down (#11)
I spotted what appears to be a memory leak in ValuesToCompactAgg (COMPACT_COUNT_DISTINCT's "push down" function). The code allocates a new `char*` of size `byteSize` but never deallocates it. The pointer is passed to `ValueFactory::getTempBinary(…)`, which copies the given data rather than taking ownership of the pointer.
- Loading branch information