This commit is contained in:
Michaël Van Canneyt 2023-07-23 23:32:37 +02:00 committed by Pierre Muller
parent 27f7739413
commit 2401d48fec

View File

@ -1295,8 +1295,8 @@ end;
Function SysFreeMemSize(p: pointer; size: ptruint):ptruint;
begin
if size=0 then
exit(0);
// if size=0 then
// exit(0);
{ can't free partial blocks, ignore size }
result := SysFreeMem(p);
end;