From d4564a0007d1b248af07d5a29a4bd9ccedb61fde Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Fri, 28 Nov 2025 22:01:20 +0100 Subject: Misc. ULibc fixes --- USearch.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'USearch.pas') diff --git a/USearch.pas b/USearch.pas index 5e981e0..b6ba0a2 100644 --- a/USearch.pas +++ b/USearch.pas @@ -1089,7 +1089,7 @@ var fd: TEngineFileDes; begin Result := False; try - Buffer := malloc(BlockSize); + Buffer := libc_malloc(BlockSize); if Buffer = nil then Exit; memset(Buffer, 0, BlockSize); fd := FEngine.OpenFile(FileName, omRead, nil); -- cgit v1.2.3