Closed Bug 13857 Opened 25 years ago Closed 25 years ago

Direct calls to AddRef() not good?

Categories

(Core :: XPCOM, defect, P3)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: bruce, Assigned: dp)

Details

nsRegValueEnumerator::CurrentItem() and nsRegSubtreeEnumerator::CurrentItem()
call (*result)->AddRef() ... shouldn't these be using NS_ADDREF()?  A quick
search shows a number of other locations in this code doing the same thing.
Status: NEW → ASSIGNED
Target Milestone: M11
Have changes in tree. Will checkin once we open the tree.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Bruce, can you verify. thanks.
Component: XPCOM Registry → XPCOM
QA Contact: dp → xpcom
You need to log in before you can comment on or make changes to this bug.