This commit is contained in:
Michaël Van Canneyt 2023-07-23 23:32:37 +02:00
parent b5433100f4
commit fb5b891c45

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;