summaryrefslogtreecommitdiff
path: root/UChecksumDruid.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2025-11-28 22:01:20 +0100
committerTomas Bzatek <tbzatek@redhat.com>2025-11-28 22:01:20 +0100
commitd4564a0007d1b248af07d5a29a4bd9ccedb61fde (patch)
tree600da6e36cbcfca425d0b3439df823c667d58d47 /UChecksumDruid.pas
parent69dd2b81de3bcbb955669f7937f3844b86467849 (diff)
downloadtuxcmd-d4564a0007d1b248af07d5a29a4bd9ccedb61fde.tar.xz
Misc. ULibc fixes
Diffstat (limited to 'UChecksumDruid.pas')
-rw-r--r--UChecksumDruid.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/UChecksumDruid.pas b/UChecksumDruid.pas
index fc62347..4804ab2 100644
--- a/UChecksumDruid.pas
+++ b/UChecksumDruid.pas
@@ -518,7 +518,7 @@ begin
HashString := '';
Result := False;
try
- FBuffer := malloc(ChksumBlockSize);
+ FBuffer := libc_malloc(ChksumBlockSize);
memset(FBuffer, 0, ChksumBlockSize);
except
ErrorLabel.Caption := ErrorLabel.Caption + LANGAnErrorOccuredWhileInitializingMemoryBlock + #10;
@@ -580,7 +580,7 @@ begin
Exit;
end;
try
- Buffer := malloc(ChksumBlockSize);
+ Buffer := libc_malloc(ChksumBlockSize);
memset(Buffer, 0, ChksumBlockSize);
except
ErrorLabel.Caption := ErrorLabel.Caption + LANGAnErrorOccuredWhileInitializingMemoryBlock + #10;
@@ -638,7 +638,7 @@ begin
Exit;
end;
try
- Buffer := malloc(ChksumBlockSize);
+ Buffer := libc_malloc(ChksumBlockSize);
memset(Buffer, 0, ChksumBlockSize);
except
ErrorLabel.Caption := ErrorLabel.Caption + LANGAnErrorOccuredWhileInitializingMemoryBlock + #10;