Menu

#56 Memory leak in TCustomRadioGroupEx

v1.0 (example)
closed-fixed
wp
None
5
2024-01-04
2023-03-01
No

Memory leak in TCustomRadioGroupEx comes from field FHiddenButton.

How to reproduce:
New project, put TRadioGroupEx on the form, run and then close project with heaptrace.

Possible fix:

destructor TCustomRadioGroupEx.Destroy;
begin
FreeThenNil(FHiddenButton);
inherited;
end;

Discussion

  • wp

    wp - 2023-03-01

    Fixed.

     
  • wp

    wp - 2024-01-04
    • status: open --> closed-fixed
    • assigned_to: wp
     

Log in to post a comment.

MongoDB Logo MongoDB