aboutsummaryrefslogtreecommitdiff
path: root/libpod/images
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/images')
-rw-r--r--libpod/images/image_data.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/libpod/images/image_data.go b/libpod/images/image_data.go
index b64ac557f..1fa63f6cb 100644
--- a/libpod/images/image_data.go
+++ b/libpod/images/image_data.go
@@ -88,7 +88,6 @@ func GetData(store storage.Store, name string) (*Data, error) {
if err != nil {
return nil, errors.Wrapf(err, "error reading image %q", img.ID)
}
- defer imgRef.Close()
tags, digests, err := ParseImageNames(img.Names)
if err != nil {