swebb2066 commented on PR #216:
URL: https://github.com/apache/logging-log4cxx/pull/216#issuecomment-1595627484

   I think the warning reported by AddressSanitizer (new-delete-type-mismatch) 
does not generally cause a problem - The full size memory block will be 
free()ed and returned to the heap. 
   
   The [sized delete](https://isocpp.org/files/papers/n3778.html) introduced in 
C++14 enables asan_new_delete.cpp implementation to issue a warning as GCC 
seems to now use it, but the unsized delete is equivalent to the sized delete.
   
   


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