From cc0134f3613e7d6d9eeaddbfaad576ccf92a7e11 Mon Sep 17 00:00:00 2001 From: zhang2014 Date: Tue, 17 Nov 2020 23:29:02 +0800 Subject: [PATCH] Try fix asan build --- src/IO/MySQLBinlogEventReadBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IO/MySQLBinlogEventReadBuffer.cpp b/src/IO/MySQLBinlogEventReadBuffer.cpp index c495cbdfd90..b2c37ddb8d0 100644 --- a/src/IO/MySQLBinlogEventReadBuffer.cpp +++ b/src/IO/MySQLBinlogEventReadBuffer.cpp @@ -65,7 +65,7 @@ MySQLBinlogEventReadBuffer::~MySQLBinlogEventReadBuffer() nextIfAtEnd(); if (checksum_signature_length) - delete checksum_buf; + delete[] checksum_buf; } catch (...) {