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

Node slice leaks #10503

Merged
merged 2 commits into from
Apr 7, 2017
Merged

Node slice leaks #10503

merged 2 commits into from
Apr 7, 2017

Conversation

murgatroid99
Copy link
Member

@murgatroid99 murgatroid99 commented Apr 6, 2017

This fixes two different memory leaks in the Node.js library. First, when some core libraries were modified to accept grpc_slices instead of bare C strings, the calling code was not modified to unref those slices. Second, metadata arrays that were passed to core were not getting properly deallocated, and the individual metadata value slices were not getting unrefed.

This fixes #10445.

Copy link
Member

@nicolasnoble nicolasnoble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@murgatroid99
Copy link
Member Author

The interop failure is #10455, and the performance failure is some sort of C# build failure.

@murgatroid99 murgatroid99 merged commit a075688 into grpc:v1.2.x Apr 7, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants