mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 15:09:14 +02:00
* Fix issue #40360
This commit is contained in:
parent
27f7739413
commit
2401d48fec
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user