Merge pull request #2025 from ahmetalpbalkan/pr-azure-memleak1
storagedriver/azure: close leaking response body
This commit is contained in:
commit
994d1a56ff
@ -111,6 +111,7 @@ func (d *driver) GetContent(ctx context.Context, path string) ([]byte, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
defer blob.Close()
|
||||
return ioutil.ReadAll(blob)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user