diff --git a/iocore/hostdb/test_HostFile.cc b/iocore/hostdb/test_HostFile.cc index c21924159f6..a01e8a1955f 100644 --- a/iocore/hostdb/test_HostFile.cc +++ b/iocore/hostdb/test_HostFile.cc @@ -173,4 +173,5 @@ HostDBRecord::alloc(ts::TextView query_name, unsigned int rr_count, size_t srv_n void HostDBRecord::free() { + delete this; }