mirror of
https://github.com/containers/podman.git
synced 2026-03-26 10:32:58 -04:00
Fix a few new issues reported by the linter update. There is no need to copy the capAdd/capDrop slice in the compat create endpoint as they are only read and not modified. For the other code preallocate the slices so we safe memory allocations. Signed-off-by: Paul Holzinger <pholzing@redhat.com>