Open
Bug 2015312
Opened 15 hours ago
Updated 15 hours ago
memory leak in nsCocoaWindow.mm PopupWindow shadowParameters
Categories
(Core :: Widget: Cocoa, defect)
Core
Widget: Cocoa
Tracking
()
NEW
People
(Reporter: jaas, Assigned: jaas)
Details
Attachments
(1 file, 1 obsolete file)
This patch overrides a Cocoa method related to drawing shadows.
The method it overrides (- (NSDictionary*)shadowParameters) should return an autoreleased object. However, it returns an object that is a retained copy and does not autorelease it prior to return.
NSMutableDictionary* copy = [parent mutableCopy];
...
return copy;
The fix should be to autorelease prior to return.
Attachment #9543380 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•