Closed
Bug 278596
Opened 20 years ago
Closed 20 years ago
View / Message Body As in messenger broken
Categories
(MailNews Core :: MIME, defect)
MailNews Core
MIME
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mikael, Assigned: mikael)
Details
(Keywords: regression)
Attachments
(1 file)
1.93 KB,
patch
|
neil
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
After my last check-in for bug 226005, View / Message Body As
in messenger is broken.
The reason for this is that the old mime-code is broken. It is
using a nsIPref*, doing a ->Release() on it, but using it
anyway after that. In the new code checked in I used a nsCOMPtr
instead of a pointer, making calls after it was released to fail.
Assignee | ||
Comment 1•20 years ago
|
||
As suggested by biesi on irc, do not clear out the m_prefBranch.
With this patch, View / Message Body As works. I'm not completely
convinced that m_prefBranch is released at all times, but I did
not manage to get RefCount balancer to work in my build so I
can't verify this.
I am out of town for a few days so if reviewers approve this patch maybe
I could get some help to check it in.
Attachment #171402 -
Flags: superreview?(bienvenu)
Attachment #171402 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Comment 2•20 years ago
|
||
Comment on attachment 171402 [details] [diff] [review]
regression fix
options contains other nsCOMPtrs and I'm sure they're properly released.
Attachment #171402 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Comment 3•20 years ago
|
||
Comment on attachment 171402 [details] [diff] [review]
regression fix
since MimeDisplayOptions is now a class instead of a struct, this should be ok,
as long is it gets deleted.
Attachment #171402 -
Flags: superreview?(bienvenu) → superreview+
Comment 4•20 years ago
|
||
patch checked in. please resolve the bug if it is fixed now.
Checking in mailnews/mime/src/mimedrft.cpp;
/cvsroot/mozilla/mailnews/mime/src/mimedrft.cpp,v <-- mimedrft.cpp
new revision: 1.139; previous revision: 1.138
done
Checking in mailnews/mime/src/mimemoz2.cpp;
/cvsroot/mozilla/mailnews/mime/src/mimemoz2.cpp,v <-- mimemoz2.cpp
new revision: 1.215; previous revision: 1.214
done
Assignee | ||
Comment 5•20 years ago
|
||
Works now in build 20050120
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•