mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 11:29:24 +02:00
* Fixed memory allocation in registration
git-svn-id: trunk@16163 -
This commit is contained in:
parent
d3bdf2577c
commit
38aacec93d
@ -385,7 +385,7 @@ Var
|
||||
RV : Integer;
|
||||
|
||||
begin
|
||||
GetMem(P,SizeOf(TServiceTableEntry)*FMapper.DaemonDefs.Count+1);
|
||||
GetMem(P,SizeOf(TServiceTableEntry)*(FMapper.DaemonDefs.Count+1));
|
||||
Try
|
||||
C:=FMapper.DaemonDefs.Count;
|
||||
For I:=0 to C-1 do
|
||||
|
Loading…
Reference in New Issue
Block a user