Closed Bug 652385 Opened 14 years ago Closed 14 years ago

nsLayoutStyleSheetcache has odd destructor

Categories

(Core :: CSS Parsing and Computation, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla6

People

(Reporter: dbaron, Assigned: dbaron)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
nsLayoutStyleSheetCache has a destructor that duplicates the work that its static shutdown method does, but incorrectly (since it doesn't release the pointers). The destructor should just be removed, since the shutdown method nulls out both pointers with its NS_RELEASE.
Attachment #527977 - Flags: review?(bzbarsky)
Attachment #527977 - Flags: review?(bzbarsky) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Priority: P4 → P5
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: