Susan Hinrichs created TS-4421:
----------------------------------
Summary: Leak of INKContInternal
Key: TS-4421
URL: https://issues.apache.org/jira/browse/TS-4421
Project: Traffic Server
Issue Type: Bug
Reporter: Susan Hinrichs
Reported by [~sunwei] after upgrading to a build with the TS-3612 changes.
Tracked it down to problems with the m_event_count. In
INKContInternal::destroy, we call schedule_imm to try the destory later if the
m_deletable flag is not set. But we do not bump the m_event_count before
calling schedule. The event handler will decrement m_event_count one more time
than it was incremented, so by the time we try test the object for being
deletable, m_event_count is too low.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)