Skip to content

Commit

Permalink
FIXED SSDQueryScratch Destroy OOM
Browse files Browse the repository at this point in the history
  • Loading branch information
luyuncheng authored Mar 27, 2024
1 parent 8d20a98 commit d952151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scratch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ template <typename T> SSDQueryScratch<T>::~SSDQueryScratch()
diskann::aligned_free((void *)sector_scratch);
diskann::aligned_free((void *)this->_aligned_query_T);

delete[] this->_pq_scratch;
delete this->_pq_scratch;
}

template <typename T>
Expand Down

0 comments on commit d952151

Please sign in to comment.