Skip to content

Commit b94dd8f

Browse files
author
Matthias Frey
committed
Avoid memory leak using TCommandDefImpl
1 parent bd62f74 commit b94dd8f

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)