Bug 23442

Summary: Structure property table deleted offset maps are being leaked.
Product: WebKit Reporter: Gavin Barraclough <barraclough>
Component: JavaScriptCoreAssignee: Gavin Barraclough <barraclough>
Status: RESOLVED FIXED    
Severity: Normal CC: ddkilzer
Priority: P1 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
The patch oliver: review+

Description Gavin Barraclough 2009-01-20 17:30:50 PST
Probably shouldn't be doing that.
Comment 1 Gavin Barraclough 2009-01-20 17:34:16 PST
Created attachment 26879 [details]
The patch
Comment 2 Oliver Hunt 2009-01-20 17:52:43 PST
Comment on attachment 26879 [details]
The patch

r-, i think PropertyMapHashTable::deletedOffsets and m_propertyTable should both just be OwnPtrs so we don't need to explicitly free them
Comment 3 Oliver Hunt 2009-01-20 17:53:29 PST
Comment on attachment 26879 [details]
The patch

r=me, i take that back, i see why they're not now
Comment 4 Gavin Barraclough 2009-01-20 17:54:02 PST
Sending        JavaScriptCore/ChangeLog
Sending        JavaScriptCore/runtime/Structure.cpp
Transmitting file data ..
Committed revision 40076.
Comment 5 Gavin Barraclough 2009-01-20 17:55:09 PST
Erm, r=me from bdash in channel, r+ on bug by Oliver... so, reviewed by both!
Comment 6 David Kilzer (:ddkilzer) 2009-01-20 18:16:54 PST
<rdar://problem/6503608>