Initialize memory before use : Fix Repository.Properties AV.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4244 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
71fa9ae693
commit
4649ff02cc
@ -153,6 +153,7 @@ var
|
||||
locRes : PServiceRepository;
|
||||
begin
|
||||
New(locRes);
|
||||
FillChar(locRes^,SizeOf(locRes^),#0);
|
||||
locRes^.Name := 'runtime_generator';
|
||||
locRes^.NameSpace := sNAMESPACE_SAMPLE;
|
||||
locRes^.RootAddress := 'http://runtime-generator-sample.com';
|
||||
|
Loading…
Reference in New Issue
Block a user