TsRadioGroup memory leak with TNT

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33689
    muratk
    Participant

    It must be such as:

    Destructor TsRadioGroup.Destroy;
    Begin
    SetButtonCount(0);

    {$IFDEF TNTUNICODE}

    TTntStringList(FItems).OnChange := Nil;
    {$ELSE}

    TStringList(FItems).OnChange := Nil;
    {$ENDIF}

    FreeAndNil(fitems);
    FButtons.Free;
    Inherited Destroy;
    End;

    #42296
    Support
    Keymaster

    Thank you

    Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.