Closed Bug 16373 Opened 25 years ago Closed 25 years ago

[MLK] CIDCreateInstance::Call() leaks

Categories

(Core :: XPConnect, defect, P2)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: mozilla, Assigned: jband_mozilla)

References

()

Details

CIDCreateInstance::Call() makes the following call [around line #657]: piid = xpc_JSObjectToID(cx, iidobj); but never frees the piid (which is a NSID *) if it succeeds in getting one. [xpc_JSObjectToID() allocates a NEW nsID via nsAllocator::Clone.] Please fix this leak. [Note: leak detected using beard's Boehm GC]
Priority: P3 → P2
Target Milestone: M11
Status: NEW → ASSIGNED
beard also pointed this out. A have a fix ready.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
fix in
You need to log in before you can comment on or make changes to this bug.