fixed mem leak when showing command line params

git-svn-id: trunk@9469 -
This commit is contained in:
mattias 2006-06-21 20:57:38 +00:00
parent 9fa77ea56b
commit 053cb2d4eb
2 changed files with 2 additions and 1 deletions

View File

@ -77,6 +77,7 @@ begin
LazarusRevisionStr:=RevisionStr;
Application.Initialize;
TMainIDE.ParseCmdLineOptions;
if Application.Terminated then exit;
// Show splashform
if ShowSplashScreen then begin

View File

@ -978,7 +978,7 @@ begin
writeln('');
writeln(GetCmdLineParamDescForInterface);
Application.Terminate;
Halt;
exit;
end;
for i:=1 to ParamCount do begin
if ParamIsOptionPlusValue(i,PrimaryConfPathOptLong,AValue) then begin