Closed Bug 977378 Opened 11 years ago Closed 11 years ago

Refcounted camera stuff doesn't need MOZ_COUNT_CTOR/MOZ_COUNT_DTOR

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 977380

People

(Reporter: mccr8, Assigned: mccr8)

Details

Those macros are only for non-refcounted objects. This will cause overcounting if there are leaks, I think.
I filed bug 977380 for nfroyd's suggestion that we detect this, at least for ISupports things.
This is a really common pattern, so there's no need to deal with it separately.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.