Closed Bug 71563 Opened 24 years ago Closed 24 years ago

string leak in nsTransferable.cpp

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.8.1

People

(Reporter: dbaron, Assigned: mikepinkerton)

Details

Attachments

(2 files)

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.
r=hwaara
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.
taking for my very own. sfraser, can i get an sr?
Assignee: dbaron → pinkerton
Target Milestone: --- → mozilla0.8.1
I like it, r=jag
sr=sfraser on the second patch. Maybe you could use DOMStrings in your idl to avoid allocating altogether?
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.

Attachment

General

Created:
Updated:
Size: