aboutsummaryrefslogtreecommitdiff
path: root/pkg/bindings/images/diff.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/images/diff.go')
-rw-r--r--pkg/bindings/images/diff.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/bindings/images/diff.go b/pkg/bindings/images/diff.go
index 79b0df8c9..671b73089 100644
--- a/pkg/bindings/images/diff.go
+++ b/pkg/bindings/images/diff.go
@@ -23,6 +23,8 @@ func Diff(ctx context.Context, nameOrID string, options *DiffOptions) ([]archive
if err != nil {
return nil, err
}
+ defer response.Body.Close()
+
var changes []archive.Change
return changes, response.Process(&changes)
}