Closed
Bug 71563
Opened 24 years ago
Closed 24 years ago
string leak in nsTransferable.cpp
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla0.8.1
People
(Reporter: dbaron, Assigned: mikepinkerton)
Details
Attachments
(2 files)
1.02 KB,
patch
|
Details | Diff | Splinter Review | |
1.65 KB,
patch
|
Details | Diff | Splinter Review |
While higlighting some text randomly while running under the Boehm GC
(in the xlib port, actually), I ran into a leak of a string in
nsTransferable.cpp. I'll attach what I think is the fix.
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
r=hwaara
Assignee | ||
Comment 3•24 years ago
|
||
there's actually another instance of the same leak in the same file. I'll fix
them both and use nsXPIDLCString to wrap it instead of having to do a Free. Patch
forthcoming.
Assignee | ||
Comment 4•24 years ago
|
||
Assignee | ||
Comment 5•24 years ago
|
||
taking for my very own. sfraser, can i get an sr?
Assignee: dbaron → pinkerton
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.8.1
Comment 6•24 years ago
|
||
I like it, r=jag
Comment 7•24 years ago
|
||
sr=sfraser on the second patch. Maybe you could use DOMStrings in your idl to
avoid allocating altogether?
Assignee | ||
Comment 8•24 years ago
|
||
fixed.
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
•