]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect-image: simplify things by avoiding one string copy
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Dec 2022 11:25:32 +0000 (12:25 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Dec 2022 11:42:37 +0000 (12:42 +0100)
commita559088671cd7d98417913496318d97b954b8ba1
tree6ffd1b5ac2d5632d82470c049d77b7fe0d2159bf
parent583dc6d933d8eb84f338c28cbe2f4c86ee1ff069
dissect-image: simplify things by avoiding one string copy

We don't need the node in its original variable anymore, hence let's
just move it over instead of allocating a copy.
src/shared/dissect-image.c