Skip to content

Coverity 1497333: Resource leak in object in LogConfig#10891

Merged
bryancall merged 2 commits into
apache:masterfrom
bryancall:cid_1497333
Dec 1, 2023
Merged

Coverity 1497333: Resource leak in object in LogConfig#10891
bryancall merged 2 commits into
apache:masterfrom
bryancall:cid_1497333

Conversation

@bryancall
Copy link
Copy Markdown
Contributor

@bryancall bryancall commented Nov 30, 2023

hostname wasn't freed and minor cleanup

Didn't need to have the method setup_default_values it is only called from the constructor. Cleaned up to do assignment in the class definition instead of setting the default values in the constructor.

hostname wasn't freed and minor cleanup
@bryancall bryancall added this to the 10.0.0 milestone Nov 30, 2023
@bryancall bryancall self-assigned this Nov 30, 2023
Copy link
Copy Markdown
Contributor

@masaori335 masaori335 left a comment

Choose a reason for hiding this comment

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

Looks good.

@bryancall bryancall merged commit 84f3efe into apache:master Dec 1, 2023
phongn pushed a commit to phongn/trafficserver that referenced this pull request Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants