mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 06:29:32 +02:00
* Fix issue #40360
This commit is contained in:
parent
b5433100f4
commit
fb5b891c45
@ -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