Closed
Bug 952928
Opened 11 years ago
Closed 11 years ago
two Cocoa objects (one Dictionary, one Array) leaked during startup
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: jfkthame, Assigned: jfkthame)
References
Details
Attachments
(1 file, 1 obsolete file)
Observed during launch, since the refactoring of OS X version checks in bug 676907:
objc[12683]: Object 0x1004bc7c0 of class __NSCFDictionary autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
objc[12683]: Object 0x1004ca7f0 of class __NSArrayM autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
Patch attached.
Attachment #8351176 -
Flags: review?(bgirard)
Assignee | ||
Comment 1•11 years ago
|
||
Oops, that needs an extra #include or else it'll break in non-unified builds. Sorry for the churn.
Attachment #8351177 -
Flags: review?(bgirard)
Assignee | ||
Updated•11 years ago
|
Attachment #8351176 -
Attachment is obsolete: true
Attachment #8351176 -
Flags: review?(bgirard)
Comment 2•11 years ago
|
||
Comment on attachment 8351177 [details] [diff] [review]
Ensure an autorelease pool is in place in InitializeVersionNumbers() before calling Cocoa APIs.
Thanks!
Attachment #8351177 -
Flags: review?(bgirard) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Target Milestone: --- → mozilla29
Comment 4•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•