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)

PowerPC
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8alpha6

People

(Reporter: asaf, Assigned: asaf)

References

Details

(Keywords: memory-leak)

Attachments

(1 file)

OS: All → MacOS X
Priority: -- → P2
Hardware: All → Macintosh
Target Milestone: --- → mozilla1.8beta
Status: NEW → ASSIGNED
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+
It's that critical, but "OK".
Flags: blocking1.8a6+
Target Milestone: mozilla1.8beta → mozilla1.8alpha6
Attached patch patchSplinter Review
Attachment #170691 - Flags: review?(joshmoz)
Attachment #170691 - Flags: review?(joshmoz) → review+
Attachment #170691 - Flags: superreview?(sfraser_bugs)
Attachment #170691 - Flags: approval1.8a6?
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 on attachment 170691 [details] [diff] [review] patch a=asa for checkin to 1.8a6 pending sr.
Attachment #170691 - Flags: approval1.8a6? → approval1.8a6+
Attachment #170691 - Flags: superreview?(sfraser_bugs) → superreview+
Severity: normal → critical
Keywords: mlk
checked in by smontagu.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Flags: blocking1.8b+
Severity: critical → normal
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: