don't release buffer as it is written

pull/1269/head
Darien Raymond 2018-08-29 16:35:01 +02:00
parent ce96941029
commit 09824b9b1a
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 0 additions and 1 deletions

View File

@ -90,7 +90,6 @@ func copyInternal(reader Reader, writer Writer, handler *copyHandler) error {
}
if werr := handler.writeTo(writer, buffer); werr != nil {
buffer.Release()
return werr
}
}