cri-o/pkg/storage
Nalin Dahyabhai 82c90747c2 Don't double-free an UnparsedSource
github.com/containers/image.FromUnparsedImage() "takes ownership" of the
UnparsedImage that we pass to it, so we shouldn't also Close() the
UnparsedImage ourselves after we've wrapped it up in an Image object.

Since creating an Image is the only thing we do with the UnparsedImage
after creating it from a SourceImage, just use the FromSource() function
to handle both steps at once.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-07-26 15:52:51 -04:00
..
doc.go Rename ocid to crio. 2017-05-12 09:56:06 -04:00
image.go Don't double-free an UnparsedSource 2017-07-26 15:52:51 -04:00
runtime.go *: stability fixes 2017-06-01 15:42:01 +02:00