masaori335 commented on code in PR #13029:
URL: https://github.com/apache/trafficserver/pull/13029#discussion_r3007436516


##########
src/proxy/hdrs/unit_tests/test_Hdrs.cc:
##########
@@ -207,6 +207,7 @@ test_http_hdr_copy_over_aux(int testnum, const char 
*request, const char *respon
 
   if (err == ParseResult::ERROR) {
     std::printf("FAILED: (test #%d) parse error parsing request hdr\n", 
testnum);
+    req_hdr.destroy();

Review Comment:
   I prefer setting defer (ts::PostScript).



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to