Closed
Bug 47016
Opened 24 years ago
Closed 22 years ago
Leak gDefCharset in DocumentViewerImpl::GetDefaultCharacterSet()
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: rbs, Assigned: ftang)
Details
(Keywords: memory-leak)
Filling this bug, for the record, so that it doesn't get forgotten later.
layout/base/src/nsDocumentWiewer.cpp has the following:
NS_IMETHODIMP DocumentViewerImpl::GetDefaultCharacterSet(PRUnichar**
aDefaultCharacterSet)
{
NS_ENSURE_ARG_POINTER(aDefaultCharacterSet);
NS_ENSURE_STATE(mContainer);
static PRUnichar *gDefCharset = nsnull; // XXX: memory leak!
...
}
Comment 1•24 years ago
|
||
Re-assigning bugs on Clayton's list opened between 7/29 and 8/4 to Kevin for
further triage.
Assignee: clayton → kmcclusk
Updated•24 years ago
|
Status: NEW → ASSIGNED
Updated•24 years ago
|
Target Milestone: --- → mozilla0.9.1
Rather than trying an optimal solution that isn't necessary (given that a
charset is generally a short string), what about fixing this bug by just doing
gDefCharset[100] or some other length, and reworking the logic so that it
is defaulted to ISO-8859-1 if the length is short.
Updated•24 years ago
|
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Assignee | ||
Comment 6•23 years ago
|
||
reassign to yokoyama and mark as future
Assignee: bstell → yokoyama
Status: ASSIGNED → NEW
Target Milestone: mozilla0.9.2 → Future
Comment 8•23 years ago
|
||
Setting milestone to not-too-distant-future.
Target Milestone: Future → mozilla0.9.6
Assignee | ||
Comment 9•23 years ago
|
||
give it back to ftang
Assignee: yokoyama → ftang
Status: ASSIGNED → NEW
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Assignee | ||
Comment 10•23 years ago
|
||
small leaking, set to future.
Target Milestone: mozilla0.9.7 → Future
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Comment 11•22 years ago
|
||
The code referenced in comment 0 no longer exists. (In particular, there is no
gDefCharset anymore.)
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•