mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-12 17:07:41 +00:00
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> |
||
|---|---|---|
| .. | ||
| diskpull | ||
| claim_darwin.go | ||
| claim_unsupported.go | ||
| claim_unsupported_unix.go | ||
| host.go | ||
| host_test.go | ||
| networking.go | ||
| networking_unix.go | ||
| networking_windows.go | ||
| volume.go | ||