Skip to content

Conversation

@randall
Copy link
Contributor

@randall randall commented May 12, 2022

This fixes an ASan reported leak of ConfigManager::configName. It used
to be strdup'd but not freed in the destructor. This simply changes it
to a std::string.

ASan also reported a leak in AddConfigFilesHere which is fixed with an
ats_free as well.

(cherry picked from commit ee820c7)

Conflicts:
src/traffic_manager/AddConfigFilesHere.cc

This fixes an ASan reported leak of ConfigManager::configName. It used
to be strdup'd but not freed in the destructor. This simply changes it
to a std::string.

ASan also reported a leak in AddConfigFilesHere which is fixed with an
ats_free as well.

(cherry picked from commit ee820c7)

Conflicts:
    src/traffic_manager/AddConfigFilesHere.cc
@randall randall added the Leak label May 12, 2022
@randall randall added this to the 9.1.3 milestone May 12, 2022
@randall randall requested a review from bneradt May 12, 2022 18:23
@randall randall requested review from bryancall and zwoop as code owners May 12, 2022 18:23
@randall randall self-assigned this May 12, 2022
@bneradt
Copy link
Contributor

bneradt commented May 13, 2022

Looks good. The fedora/rocky builds should start passing once we pull in various 9.1.x unit test/build PRs for those later compilers.

@bryancall bryancall merged commit 307fcdc into apache:9.1.x Jun 13, 2022
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.

3 participants