summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--USearch.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/USearch.pas b/USearch.pas
index edf4403..6e8f362 100644
--- a/USearch.pas
+++ b/USearch.pas
@@ -1002,7 +1002,8 @@ begin
end;
end;
- if not Matches then libc_free(LocalList[i]);
+ if not Matches then
+ FreeDataItem(PDataItem(LocalList[i]));
end;
end;
LocalList.Free;