All users were logged out of Bugzilla on October 13th, 2018

Direct calls to AddRef() not good?

RESOLVED FIXED in M11

Status

()

P3
normal
RESOLVED FIXED
19 years ago
10 years ago

People

(Reporter: bruce, Assigned: dp)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
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.
(Assignee)

Updated

19 years ago
Status: NEW → ASSIGNED
Target Milestone: M11
(Assignee)

Comment 1

19 years ago
Have changes in tree. Will checkin once we open the tree.
(Assignee)

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Assignee)

Comment 2

19 years ago
Bruce, can you verify. thanks.

Updated

10 years ago
Component: XPCOM Registry → XPCOM
QA Contact: dp → xpcom
You need to log in before you can comment on or make changes to this bug.