1
0
mirror of synced 2024-11-22 04:46:05 +03:00

Close response body

This commit is contained in:
Pranas Kiziela 2019-11-15 16:01:19 +02:00
parent 48370aae6e
commit 485d2d86be

View File

@ -243,6 +243,7 @@ func (r *Response) AttachmentData(dataType AttachmentType, filename string, file
if err != nil {
return err
}
defer resp.Body.Close()
return checkFacebookError(resp.Body)
}