[Webkit-unassigned] [Bug 43230] REGRESSION: Memory leak within JSParser::JSParser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 1 15:16:02 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43230





--- Comment #3 from Alexey Proskuryakov <ap at webkit.org>  2010-09-01 15:16:02 PST ---
I think that this is a misuse of ThreadSpecific. It can't possibly destroy data for all threads in its own destructor.

template<typename T>
inline ThreadSpecific<T>::~ThreadSpecific()
{
    pthread_key_delete(m_key); // Does not invoke destructor functions.
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list