]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect-image: fix fd leak in dissected_image_acquire_metadata()
authorLennart Poettering <lennart@poettering.net>
Mon, 4 Dec 2023 17:21:23 +0000 (18:21 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 12 Dec 2023 15:19:50 +0000 (16:19 +0100)
commit8d5e61db432932faa5b2d8531ab804bb4da4791d
tree66fdbbf2d4acaaf1893e23bf40fea3126e77241d
parenta8e8bcfb7dbe53158c30b236e66814b32a6b748b
dissect-image: fix fd leak in dissected_image_acquire_metadata()

We have to go through the "finish" label to properly close all pipes in
the error path, so that we don't leak them.
src/shared/dissect-image.c