mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 10:58:23 +02:00
removed unnecessary MEMF_PUBLIC flag from several allocations
git-svn-id: trunk@27051 -
This commit is contained in:
parent
5ac193dfc3
commit
9bdbad0c39
@ -225,7 +225,7 @@ begin
|
||||
IOReq := NIL;
|
||||
if port <> NIL then
|
||||
begin
|
||||
IOReq := execAllocMem(size, MEMF_CLEAR or MEMF_PUBLIC);
|
||||
IOReq := execAllocMem(size, MEMF_CLEAR);
|
||||
if IOReq <> NIL then
|
||||
begin
|
||||
IOReq^.io_Message.mn_Node.ln_Type := 7;
|
||||
@ -254,7 +254,7 @@ var
|
||||
begin
|
||||
sigbit := AllocSignal(-1);
|
||||
if sigbit = -1 then CreatePort := nil;
|
||||
port := execAllocMem(sizeof(tMsgPort),MEMF_CLEAR or MEMF_PUBLIC);
|
||||
port := execAllocMem(sizeof(tMsgPort),MEMF_CLEAR);
|
||||
if port = nil then begin
|
||||
FreeSignal(sigbit);
|
||||
CreatePort := nil;
|
||||
|
Loading…
Reference in New Issue
Block a user