Files
systemd/src/ukify
Siteshwar Vashisht d56d8d43ee ukify: fix cleaning up a temporary file (#43544)
Current code does not hold a reference to object returned from
`tempfile.NamedTemporaryFile()`. This would cause the object to be
immediately garbage collected and the temporary file is deleted. A new
file is created with `linux.write_bytes()` which never gets cleaned up.
Keeping a reference to this object would automatically clean up the
temporary file when `make_uki()` function returns.
2026-08-31 17:18:07 +09:00
..