* Fixed memory allocation in registration

git-svn-id: trunk@16163 -
This commit is contained in:
michael 2010-10-15 07:46:08 +00:00
parent d3bdf2577c
commit 38aacec93d

View File

@ -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