Skip to content

Commit

Permalink
fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
small-turtle-1 committed Dec 26, 2024
1 parent ad2b530 commit 95cbf8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/buffer/file_worker/hnsw_file_worker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void HnswFileWorker::AllocateInMemory() {
}

void HnswFileWorker::FreeInMemory() {
if (!data_ || !hnsw_mem_) {
if (!data_ && !hnsw_mem_) {
String error_message = "FreeInMemory: Data is not allocated.";
UnrecoverableError(error_message);
}
Expand Down

0 comments on commit 95cbf8f

Please sign in to comment.