Skip to content

portable: Fix memory leak in maybe_enable_disable() - #23483

Merged
yuwata merged 1 commit into
systemd:mainfrom
daandemeyer:portablectl-memory-leak
May 24, 2022
Merged

yuwata merged 1 commit into
systemd:mainfrom
daandemeyer:portablectl-memory-leak

Conversation

@daandemeyer

Copy link
Copy Markdown
Collaborator

Fixes #23481

@github-actions github-actions Bot added the portable Anything to do with systemd-portable and portablectl and portables label May 23, 2022
@evverx

evverx commented May 23, 2022

Copy link
Copy Markdown
Contributor

@mrc0mmand I'm wondering why the CI didn't catch it? Is the portabled testsuite skipped on CentOS CI when the tests are run under ASan?

@mrc0mmand

Copy link
Copy Markdown
Member

@mrc0mmand I'm wondering why the CI didn't catch it? Is the portabled testsuite skipped on CentOS CI when the tests are run under ASan?

It is included in the ASan/UBSan list: https://github.com/systemd/systemd-centos-ci/blob/master/vagrant/test_scripts/test-arch-sanitizers-clang.sh#L110. Maybe the test itself doesn't exercise this code path?

@evverx

evverx commented May 23, 2022

Copy link
Copy Markdown
Contributor

It is included in the ASan/UBSan list

Got it. Thanks!

Maybe the test itself doesn't exercise this code path?

Looks like it.

@yuwata
yuwata merged commit 794da5a into systemd:main May 24, 2022
@daandemeyer
daandemeyer deleted the portablectl-memory-leak branch August 2, 2022 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

portable Anything to do with systemd-portable and portablectl and portables

Development

Successfully merging this pull request may close these issues.

There is a memory leak in portablectl

4 participants