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

cmcfarlen pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 678274433f097801c6fd2ec23136b9879b95e47b
Author: Brian Neradt <[email protected]>
AuthorDate: Tue Jul 8 13:43:40 2025 -0500

    xdebug: release the client request MLoc (#12332)
    
    XScanRequestHeaders missed a TSHandleMLocRelease call for the client
    request MLoc resource.
    
    (cherry picked from commit df8067757feeb4f6d3bd45ce2421203cc0c7c44b)
---
 plugins/xdebug/xdebug.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/xdebug/xdebug.cc b/plugins/xdebug/xdebug.cc
index 936650470d..ecc36ec8f5 100644
--- a/plugins/xdebug/xdebug.cc
+++ b/plugins/xdebug/xdebug.cc
@@ -778,6 +778,8 @@ XScanRequestHeaders(TSCont /* contp */, TSEvent event, void 
*edata)
     }
   }
 
+  // Release the request header MLoc.
+  TSHandleMLocRelease(buffer, TS_NULL_MLOC, hdr);
   return TS_EVENT_NONE;
 }
 

Reply via email to