This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch 7.0.x in repository https://git-dual.apache.org/repos/asf/trafficserver.git
commit fb875283f68663a5d22ab55997a40914f8e1f442 Author: scw00 <[email protected]> AuthorDate: Mon Nov 21 18:29:08 2016 +0800 Update LogFile.cc --- proxy/logging/LogFile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/logging/LogFile.cc b/proxy/logging/LogFile.cc index 08a4968..e169e20 100644 --- a/proxy/logging/LogFile.cc +++ b/proxy/logging/LogFile.cc @@ -452,9 +452,9 @@ LogFile::write_ascii_logbuffer3(LogBufferHeader *buffer_header, const char *alt_ fmt_buf_bytes = 0; if (m_file_format == LOG_FILE_PIPE) { - ascii_buffer = (char *)malloc(m_max_line_size); + ascii_buffer = (char *)ats_malloc(m_max_line_size); } else { - ascii_buffer = (char *)malloc(m_ascii_buffer_size); + ascii_buffer = (char *)ats_malloc(m_ascii_buffer_size); } // fill the buffer with as many records as possible -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
