diff --git a/src/scratch.cpp b/src/scratch.cpp index e6fb5b25f..1f8a34bb1 100644 --- a/src/scratch.cpp +++ b/src/scratch.cpp @@ -117,7 +117,7 @@ template SSDQueryScratch::~SSDQueryScratch() diskann::aligned_free((void *)sector_scratch); diskann::aligned_free((void *)this->_aligned_query_T); - delete[] this->_pq_scratch; + delete this->_pq_scratch; } template