You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/05/19 10:13:48 UTC

[GitHub] [incubator-brpc] corznoc opened a new issue #1408: SelectiveChannel AddChannel失败,用户是否需要删除Channel指针?

corznoc opened a new issue #1408:
URL: https://github.com/apache/incubator-brpc/issues/1408


   **Describe the bug (描述bug)**
   我看AddChannel函数里失败的情况,有的调用了delete sub_chan , 有的没调用。
   用户侧不调用删除的话,恐怕有内存泄露;调用删除的话,可能会有double free的风险。
   
   
   **To Reproduce (复现方法)**
   
   
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS:
   Compiler:
   brpc:
   protobuf:
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org