mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
core: fix post-fork memory leak
Doesn't matter really, but it is caught by ASAN when things fail and there's no execve, so fix it. https://jenkins-systemd.apps.ocp.cloud.ci.centos.org/job/upstream-vagrant-archlinux-sanitizers/3245/console
This commit is contained in:
parent
34c4496ef2
commit
c94237468f
@ -536,7 +536,7 @@ static int append_extensions(
|
||||
|
||||
*((*p)++) = (MountEntry) {
|
||||
.path_malloc = TAKE_PTR(mount_point),
|
||||
.source_const = TAKE_PTR(source),
|
||||
.source_malloc = TAKE_PTR(source),
|
||||
.mode = EXTENSION_DIRECTORIES,
|
||||
.ignore = ignore_enoent,
|
||||
.has_prefix = true,
|
||||
|
Loading…
Reference in New Issue
Block a user