After running diskann::build_disk_index function, AddressSanitizer tool tells me "alloc-dealloc-mismatch (operator new vs operator delete [])".Code in scratch.cpp shows that SSDQueryScratch creates PQScratc by new operator with releasing it by delete[] operator(line 105, line 120). Is phenomenon normal or just some small code typos?
Expected Behavior
SSDQueryScratch object deconstruct normally.
Actual Behavior
SSDQueryScratch object deconstruct abnormally.
Additional Details
After running diskann::build_disk_index function, AddressSanitizer tool tells me "alloc-dealloc-mismatch (operator new vs operator delete [])".Code in scratch.cpp shows that SSDQueryScratch creates PQScratc by new operator with releasing it by delete[] operator(line 105, line 120). Is phenomenon normal or just some small code typos?