Closed Bug 499589 Opened 16 years ago Closed 7 years ago

test_mime_emitter.js shows leak of an nsVoidArray

Categories

(MailNews Core :: Database, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: standard8, Unassigned)

References

Details

(Keywords: memory-leak)

Running test_mime_emitter.js shows a leak of nsVoidArray: TEST-PASS | /buildbot/linux-comm-1.9.1-check/build/objdir/mozilla/_tests/xpcshell/test_mailnewsglobaldb/unit/test_mime_emitter.js | test passed == BloatView: ALL (cumulative) LEAK STATISTICS |<----------------Class--------------->|<-----Bytes------>|<----------------Objects---------------->|<--------------References-------------->| Per-Inst Leaked Total Rem Mean StdDev Total Rem Mean StdDev 0 TOTAL 31 4 22478 1 ( 278.48 +/- 337.97) 51200 0 ( 221.35 +/- 277.28) 225 nsVoidArray 4 4 192 1 ( 76.96 +/- 42.84) 0 0 ( 0.00 +/- 0.00)
Flags: wanted-thunderbird3+
Pressed submit too early somehow. This is caused by the allocation of an nsVoidArray in mimei.cpp that is never cleaned up (its assigned to a static pointer). Not a major issue, but I'll see if I can come up with a way around it.
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20090530 SeaMonkey/2.0b1pre] (experimental/_m-c_, home, optim default) (W2Ksp4) (http://hg.mozilla.org/mozilla-central/rev/e44d9c0f4805 +http://hg.mozilla.org/comm-central/rev/62f2c362a9a4 + bug 493008 patches) Ftr, this build already had this bug.
nsVoidArray got removed ages ago.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.