This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 9abd0cfaa9f660d8e222082e3775f78a320431d1 Author: Hiroaki Nakamura <[email protected]> AuthorDate: Wed Feb 12 13:22:16 2025 +0900 Use ats_free instead of free in LogFlushData destructor (#12024) When m_logfile->m_file_format in LogData is LOG_FILE_ASCII or LOG_FILE_PIPE, m_data in LogData is allocated with ats_malloc in LogFile::write_ascii_logbuffer3. (cherry picked from commit 8dda1e7f3735872a71380d1aa0908fbf81dc1370) --- include/proxy/logging/Log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/proxy/logging/Log.h b/include/proxy/logging/Log.h index 047d903b78..8f2aa237ff 100644 --- a/include/proxy/logging/Log.h +++ b/include/proxy/logging/Log.h @@ -92,7 +92,7 @@ public: break; case LOG_FILE_ASCII: case LOG_FILE_PIPE: - free(m_data); + ats_free(m_data); break; case N_LOGFILE_TYPES: default:
