containerd/content
Derek McGowan 3a6825e1a0
content: remove unnecessary defer in helpers
Deferring the put back of the buffer is not necessary since
it can be done immediately after use, before checking error.
This decreases the amount of the time the buffer is out
of the pool and not in use.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2018-04-20 11:55:59 -07:00
..
local Licence header added 2018-02-19 10:32:26 +09:00
testsuite Merge pull request #2221 from AkihiroSuda/content-small-blob 2018-03-26 10:43:23 -07:00
content.go Licence header added 2018-02-19 10:32:26 +09:00
helpers_test.go Licence header added 2018-02-19 10:32:26 +09:00
helpers.go content: remove unnecessary defer in helpers 2018-04-20 11:55:59 -07:00