This is an automated email from the ASF dual-hosted git repository.

wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new 051abccd fix: release AccessThreadArgs array in parallel_http to avoid 
memory leak (#2793) (#3491)
051abccd is described below

commit 051abccd86866f799dd60cf2d65a7465e6f242f2
Author: water <[email protected]>
AuthorDate: Thu Aug 27 09:58:30 2026 +0800

    fix: release AccessThreadArgs array in parallel_http to avoid memory leak 
(#2793) (#3491)
---
 tools/parallel_http/parallel_http.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/parallel_http/parallel_http.cpp 
b/tools/parallel_http/parallel_http.cpp
index c11c2158..c6864e32 100644
--- a/tools/parallel_http/parallel_http.cpp
+++ b/tools/parallel_http/parallel_http.cpp
@@ -207,5 +207,7 @@ int main(int argc, char** argv) {
             usleep(10000);
         }
     }
+
+    delete[] args;
     return 0;
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to