Closed
Bug 61957
Opened 24 years ago
Closed 24 years ago
[static ctor]static strings in nsMetaCharsetObserver.cpp
Categories
(Core :: Internationalization, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: dbaron, Assigned: dbaron)
References
Details
(Keywords: topembed+)
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
There are two static nsAutoString objects used in nsMetaCharsetObserver.cpp.
This is against the C++ portability guidelines
http://www.mozilla.org/hacking/portable-cpp.html , shows up as a leak, prevents
us from running on OpenBSD (bug ), and prevents us from doing module unloading
(see bug 60709).
A proposed fix is attached. It also fixes a build warning by adding a .get() to
NS_ConvertUCS2toUTF8 (and removing the unneeded GetUnicode).
Assignee | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
r=erik
Comment 3•24 years ago
|
||
sr=waterson
Assignee | ||
Comment 4•24 years ago
|
||
Fix checked in 2000-12-08 20:15 PST.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•