diff options
Diffstat (limited to 'UChecksum.pas')
| -rw-r--r-- | UChecksum.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UChecksum.pas b/UChecksum.pas index a0922d7..5382086 100644 --- a/UChecksum.pas +++ b/UChecksum.pas @@ -228,7 +228,7 @@ begin else if SFVPresent then FileList.Columns[1].Caption := 'CRC-32'; try - Buffer := malloc(ChksumBlockSize); + Buffer := libc_malloc(ChksumBlockSize); memset(Buffer, 0, ChksumBlockSize); except Application.MessageBox(LANGAnErrorOccuredWhileInitializingMemoryBlock, [mbOK], mbError, mbNone, mbOK); @@ -402,7 +402,7 @@ begin ProgressBar.Value := 0; Application.ProcessMessages; try - Buffer := malloc(ChksumBlockSize); + Buffer := libc_malloc(ChksumBlockSize); memset(Buffer, 0, ChksumBlockSize); except Application.MessageBox(LANGAnErrorOccuredWhileInitializingMemoryBlock, [mbOK], mbError, mbNone, mbOK); |
