Skip to content

Commit e34e718

Browse files
Merge pull request #13 from freimatz/master
Avoid memory leak using TCommandDefImpl
2 parents bd62f74 + b94dd8f commit e34e718

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Src/VSoft.CommandLine.CommandDef.pas

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ constructor TCommandDefImpl.Create(const name: string; const alias : string; co
9393

9494
destructor TCommandDefImpl.Destroy;
9595
begin
96+
FExamples.Free;
9697
FOptionsLookup.Free;
9798
FUnnamedOptions.Free;
9899
FRegisteredOptions.Free;

0 commit comments

Comments
 (0)