spiegel_podman/pkg/machine/shim
Sebastien Tardif 846d1a1b05 Close leaked file handles in container config, CRIU stats, and playbook read
Add missing defer Close() calls in four locations:

- libpod/container.go: specFromState() opens the container config file
  but never closes it after reading, leaking one fd per call.

- libpod/container_internal_common.go: checkpoint() and restore() each
  open the bundle directory for CRIU statistics but never close it,
  leaking one fd per checkpoint/restore operation.

- pkg/machine/shim/host.go: Init() opens the playbook file but never
  closes it after ReadAll, leaking one fd per machine init.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
2026-05-17 16:09:56 -07:00
..
diskpull RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
claim_darwin.go Implement generic providers 2024-02-07 09:18:38 -06:00
claim_unsupported.go pkg/machine/shim: fix unused warnings on windows 2025-03-31 12:27:55 -07:00
claim_unsupported_unix.go pkg/machine/shim: fix unused warnings on windows 2025-03-31 12:27:55 -07:00
host.go Close leaked file handles in container config, CRIU stats, and playbook read 2026-05-17 16:09:56 -07:00
host_test.go Disallow mounting to certain destination /dir paths 2025-03-07 09:54:01 -06:00
networking.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
networking_unix.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
networking_windows.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volume.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00