Closed Bug 15383 Opened 25 years ago Closed 24 years ago

Test class JSSample breaks memory ownership rules

Categories

(Core Graveyard :: Java to XPCOM Bridge, defect, P3)

defect

Tracking

(Not tracked)

CLOSED INVALID

People

(Reporter: frankm, Assigned: blackconnect)

Details

JSSample::SetSomeName() should copy the char* it receives, not assign it to its
own instance variable.

The code was written before the XPCOM rules were formalized, so there may be
other violations.
Status: NEW → ASSIGNED
Actually, it doesn't, but it does use new/delete instead of nsAllocator.  I've
got a fix in my workarea, pending review.
Frank Mitchell no longer works at Sun and his email is bouncing. Reassigning
his 21 bugs to george for reassignment.
Assignee: frankm → drapeau
Status: ASSIGNED → NEW
This sources are obsolete.
Assignee: drapeau → idk
closing as invalid
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
VERIFIED invalid.
Must be closed.
Status: RESOLVED → VERIFIED
QA Contact: leila.garin → avm
Closing as obsolete
Status: VERIFIED → CLOSED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.