Skip to content

JclIDEUtils: fix memory leaks in ReadInstallations#170

Open
Delphier wants to merge 1 commit intoproject-jedi:masterfrom
Delphier:memoryleaks-readinstallations
Open

JclIDEUtils: fix memory leaks in ReadInstallations#170
Delphier wants to merge 1 commit intoproject-jedi:masterfrom
Delphier:memoryleaks-readinstallations

Conversation

@Delphier
Copy link
Contributor

No description provided.

@obones
Copy link
Member

obones commented Jan 20, 2026

Thanks for this.

I'd really prefer if AddInstallation was not a local method but rather a private method taking one parameter.

@Delphier Delphier force-pushed the memoryleaks-readinstallations branch from 6892943 to 1b9a8b9 Compare January 21, 2026 13:43
@Delphier
Copy link
Contributor Author

@obones Hello, AddInstallation has been made private.

Result := True;
end;
end
AddInstallation(CreateClass, VersionKeyName)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the else part has a begin/end pair, the style guide mandates that the if part has as well. Could you please make sure this is the case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, added begin/end pair.

@Delphier Delphier force-pushed the memoryleaks-readinstallations branch from 1b9a8b9 to 939c6d7 Compare January 23, 2026 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants