bneradt commented on code in PR #10886:
URL: https://github.com/apache/trafficserver/pull/10886#discussion_r1412533844


##########
plugins/ja3_fingerprint/ja3_fingerprint.cc:
##########
@@ -431,9 +442,9 @@ TSRemapDoRemap(void *ih, TSHttpTxn rh, TSRemapRequestInfo 
*rri)
 void
 TSRemapDeleteInstance(void *ih)
 {
-  auto pri = static_cast<ja3_remap_info *>(ih);
-  if (pri) {
-    delete pri;
+  auto remap_info = static_cast<ja3_remap_info *>(ih);
+  if (remap_info) {

Review Comment:
   Good point. I removed the if-guard.



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