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:
inoussa 2015-08-04 11:59:32 +00:00
parent 71fa9ae693
commit 4649ff02cc

View File

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