]> git.ipfire.org Git - thirdparty/systemd.git/commit
repart: fix memory leak
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Wed, 10 Jan 2024 14:05:50 +0000 (15:05 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 10 Jan 2024 19:07:21 +0000 (19:07 +0000)
commitecb4c5a63e399f33516ba08bb0a4802924dc194d
treed1161eed95b90ecf959fd5ecbdd81bb8414ccdd8
parent52e5b950dcc0cf047d61f5813695ec8f28b28e3d
repart: fix memory leak

With the `--image` option, if `arg_node` is NULL, it's being assigned via
`strdup`.
src/partition/repart.c