mirror of https://github.com/grpc/grpc.git
Fix a possible memory leak in handshaker. This leak only impacts handshakers that don't have any endpoint associated with them and if the shutdown occurs at the same time as the handshaker finishing successfully. Currently the memory allocated for the read buffer is only cleaned up if the endpoint is not a nullptr triggering the leak. This change unilaterally cleans up the memory for this condition.
parent
10a95e03d9
commit
d4f760ae11
1 changed files with 5 additions and 3 deletions
Loading…
Reference in new issue