Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GDI-object leak in Item properties dialogue box #704

Merged
merged 1 commit into from
Apr 30, 2023

Commits on Apr 30, 2023

  1. Fix GDI-object leak in Item properties dialogue box

    This fixes a regression caused by #683 on older versions of Windows, where the Item properties options tree view state image list was being leaked every time the dialogue was closed. This is linked to the use of the TVS_CHECKBOXES style.
    
    This change destroys the image list as directed in the documentation. I was only able to reproduce the leak on older versions of Windows (e.g. Windows 7).
    
    (The FCL import and export dialogues already had the logic to destroy the image list, so weren't affected by this problem.)
    reupen committed Apr 30, 2023
    Configuration menu
    Copy the full SHA
    68efbb9 View commit details
    Browse the repository at this point in the history