Closed Bug 77391 Opened 24 years ago Closed 24 years ago

nsLDAPConnection should use nsMemory::Alloc for nsLDAPMessages

Categories

(Directory Graveyard :: LDAP XPCOM SDK, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: dmosedale, Assigned: dmosedale)

Details

Right now it uses the C++ new operator, which probably means that using nsMemory::Free (what Release almost certainly does) won't work, and the object will leak.
Blocks: 17880
No longer blocks: 17880
After talking to shaver, the current behavior is actually the correct behavior. Components themselves are allocated with new; the shared allocator is for strings (and maybe other stuff?).
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
reassign to Olga as QA contact
QA Contact: yulian → olgac
V
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.