[Webkit-unassigned] [Bug 29030] Unfreed UString objects

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 8 07:05:54 PDT 2009


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





--- Comment #1 from Zoltan Herczeg <zherczeg at inf.u-szeged.hu>  2009-09-08 07:05:53 PDT ---
The rc changes are happened during one call of Identifier::add

PassRefPtr<UString::Rep> Identifier::add(JSGlobalData* globalData, const char*
c)
{
   ...
   pair<HashSet<UString::Rep*>::iterator, bool> addResult = ...
   addResult.first.rc = 1, addResult.second = true
   ...
   literalIdentifierTable.add(c, addedString.get());
   rc transitions: 1->2->3->2
}

Except (of course) the freeing of GlobalData (2->1)

-- 
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