Closed
Bug 277467
Opened 21 years ago
Closed 21 years ago
memory leak in nsilookandfeel::getmetric (missing CFRelease call)
Categories
(Core Graveyard :: Widget: Mac, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.8alpha6
People
(Reporter: asaf, Assigned: asaf)
References
Details
(Keywords: memory-leak)
Attachments
(1 file)
653 bytes,
patch
|
jaas
:
review+
sfraser_bugs
:
superreview+
asa
:
approval1.8a6+
|
Details | Diff | Splinter Review |
Assignee | ||
Updated•21 years ago
|
OS: All → MacOS X
Priority: -- → P2
Hardware: All → Macintosh
Target Milestone: --- → mozilla1.8beta
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Comment 1•21 years ago
|
||
Asaf, we probably want to get this in for 1.8a6, right? Time is short. Can you
get a patch together quickly?
Flags: blocking1.8b+
Assignee | ||
Comment 2•21 years ago
|
||
It's that critical, but "OK".
Flags: blocking1.8a6+
Target Milestone: mozilla1.8beta → mozilla1.8alpha6
Assignee | ||
Comment 3•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #170691 -
Flags: review?(joshmoz)
Attachment #170691 -
Flags: review?(joshmoz) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #170691 -
Flags: superreview?(sfraser_bugs)
Assignee | ||
Updated•21 years ago
|
Attachment #170691 -
Flags: approval1.8a6?
Assignee | ||
Comment 4•21 years ago
|
||
for the record, here is the full context;
CFPropertyListRef fullKeyboardAccessProperty;
fullKeyboardAccessProperty = ::CFPreferencesCopyValue
(CFSTR("AppleKeyboardUIMode"),
kCFPreferencesAnyApplication,
kCFPreferencesCurrentUser,
kCFPreferencesAnyHost);
if (fullKeyboardAccessProperty) {
PRInt32 fullKeyboardAccessPrefVal;
::CFNumberGetValue(fullKeyboardAccessProperty, kCFNumberIntType,
&fullKeyboardAccessPrefVal);
if (fullKeyboardAccessPrefVal == 3) // "Full keyboard access" is on
aMetric = 7; // everything that can be focused
else
aMetric = 1; // Textboxes
::CFRelease(fullKeyboardAccessProperty);
}
Comment 5•21 years ago
|
||
Comment on attachment 170691 [details] [diff] [review]
patch
a=asa for checkin to 1.8a6 pending sr.
Attachment #170691 -
Flags: approval1.8a6? → approval1.8a6+
Updated•21 years ago
|
Attachment #170691 -
Flags: superreview?(sfraser_bugs) → superreview+
Assignee | ||
Comment 6•21 years ago
|
||
checked in by smontagu.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•21 years ago
|
Flags: blocking1.8b+
Assignee | ||
Updated•21 years ago
|
Severity: critical → normal
You need to log in
before you can comment on or make changes to this bug.
Description
•