masaori335 commented on a change in pull request #8074:
URL: https://github.com/apache/trafficserver/pull/8074#discussion_r671919045



##########
File path: src/traffic_server/InkAPI.cc
##########
@@ -773,7 +773,7 @@ isWriteable(TSMBuffer bufp)
 static MIMEFieldSDKHandle *
 sdk_alloc_field_handle(TSMBuffer /* bufp ATS_UNUSED */, MIMEHdrImpl *mh)
 {
-  MIMEFieldSDKHandle *handle = mHandleAllocator.alloc();
+  MIMEFieldSDKHandle *handle = THREAD_ALLOC(mHandleAllocator, this_thread());

Review comment:
       NVM, `ProxyAllocator` (a member of `Thread`) and `ClassAllocator` need 
to be the same name.
   
   
https://github.com/apache/trafficserver/blob/c4b7eaac6ec3e98702b205895f914f2dcec76369/iocore/eventsystem/I_ProxyAllocator.h#L74-L75




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