Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak because of response body is not closed #66

Closed
AngelRefael opened this issue Feb 6, 2017 · 1 comment
Closed

Memory leak because of response body is not closed #66

AngelRefael opened this issue Feb 6, 2017 · 1 comment

Comments

@AngelRefael
Copy link
Contributor

There is a memory leak in event.go - func CreateEvent, the closing of the response must take place right after the checking of the error, currently when the response status is not equal to 200, the response body will not be closed - see pull request #65

@lfepp
Copy link
Contributor

lfepp commented Feb 8, 2017

Fixed with PR#65

@lfepp lfepp closed this as completed Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants