This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 99c4d32b1b ASan: Fix alloc-dealloc-mismatch of test_HostFile (#10084)
99c4d32b1b is described below
commit 99c4d32b1bbaf34da50cda85e53455a25266bdb7
Author: Masaori Koshiba <[email protected]>
AuthorDate: Tue Jul 25 10:46:45 2023 +0900
ASan: Fix alloc-dealloc-mismatch of test_HostFile (#10084)
---
iocore/hostdb/test_HostFile.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/hostdb/test_HostFile.cc b/iocore/hostdb/test_HostFile.cc
index 1f8cfe7215..68d645af14 100644
--- a/iocore/hostdb/test_HostFile.cc
+++ b/iocore/hostdb/test_HostFile.cc
@@ -175,5 +175,5 @@ HostDBRecord::alloc(swoc::TextView query_name, unsigned int
rr_count, size_t srv
void
HostDBRecord::free()
{
- delete this;
+ std::free(this);
}