Skip to content

Resolve memory leak in cronet_transport#8256

Merged
makdharma merged 3 commits intogrpc:masterfrom
muxi:fix-cronet-memory-leak
Oct 5, 2016
Merged

Resolve memory leak in cronet_transport#8256
makdharma merged 3 commits intogrpc:masterfrom
muxi:fix-cronet-memory-leak

Conversation

@muxi
Copy link
Copy Markdown
Contributor

@muxi muxi commented Sep 30, 2016

No description provided.

gpr_free(s->state.ws.write_buffer);
s->state.ws.write_buffer = NULL;
}
if (s->state.rs.read_buffer &&
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

please turn into a function or macro and use it everywhere.

@makdharma
Copy link
Copy Markdown
Contributor

@muxi - a function will be a better choice because of the debuggability and readability it affords.

@makdharma makdharma merged commit da865f1 into grpc:master Oct 5, 2016
@lock lock Bot locked as resolved and limited conversation to collaborators Jan 26, 2019
@lock lock Bot unassigned makdharma Jan 26, 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