sogou / srpc

RPC framework based on C++ Workflow. Supports SRPC, Baidu bRPC, Tencent tRPC, thrift protocols.
Apache License 2.0
1.96k stars 387 forks source link

Memory leak? #410

Closed QiAnXinCodeSafe closed 1 month ago

QiAnXinCodeSafe commented 1 month ago

Hi all, This is Qianxin CodeSafe Team, we found a suspicious issue, at https://github.com/sogou/srpc/blob/bb882f98820bff7fa91aa83b29640fa753e11772/src/http/http_task.cc#L414C6-L414C13 which has geting memory allocation at

Barenboim commented 1 month ago

Thank @QiAnXinCodeSafe

The memory leak bug was confirmed and will be fixed soon.

Barenboim commented 1 month ago

Fixed: https://github.com/sogou/srpc/pull/411