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

Properly allocate buffer #29

Merged
merged 1 commit into from
Mar 5, 2017
Merged

Properly allocate buffer #29

merged 1 commit into from
Mar 5, 2017

Conversation

PlasmaPower
Copy link
Owner

Oops! I'm surprised this bug didn't surface in real world use cases. This should fix Travis.

@coveralls
Copy link

coveralls commented Mar 5, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling e495ad4 on malloc-buffer into adb918b on master.

@PlasmaPower PlasmaPower merged commit 43cab14 into master Mar 5, 2017
@lovell
Copy link

lovell commented Mar 5, 2017

The original problem relates to a change in the way nan de-allocates Buffers at GC time - see nodejs/nan#402 (comment)

Thanks for fixing this!

@PlasmaPower
Copy link
Owner Author

Interesting. I guess that would explain why it only broke on some versions of Node.

@PlasmaPower PlasmaPower deleted the malloc-buffer branch March 5, 2017 19:00
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

Successfully merging this pull request may close these issues.

3 participants