This commit is contained in:
azw 2023-04-14 07:31:49 +00:00
parent 46e42c7228
commit 5796e5203e

View File

@ -101,10 +101,8 @@ void UpStream::SendStockMsg()
} }
if (pdelnode->hdr) { if (pdelnode->hdr) {
ForwardClientMsg(*pdelnode->hdr); ForwardClientMsg(*pdelnode->hdr);
if (pdelnode->hdr->buf) { f8::MsgHdr::Destroy(pdelnode->hdr);
free((char*)pdelnode->hdr->buf); pdelnode->hdr = nullptr;
}
free(pdelnode->hdr);
} }
delete pdelnode; delete pdelnode;
} }