Memory leak on failure in GET_UCS macro

RESOLVED WORKSFORME

Status

()

P4
minor
RESOLVED WORKSFORME
18 years ago
7 years ago

People

(Reporter: sfraser_bugs, Assigned: dbaron)

Tracking

Trunk
Future
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
be said:

Looks like GET_UCS leaks tmp if nsFSStringConversion::FSToNewUCS fails.  Should
use an nsXPIDLCString tmp, eh?
...or just make GET_UCS look like SET_UCS.

Dunno why it's assigned to me (maybe I'm the only one who bothers to fix minor
leaks these days?), but easy enough to fix if I get around to it...
Severity: normal → minor
Status: NEW → ASSIGNED
OS: Mac System 8.5 → All
Priority: -- → P4
Summary: Possible emory leak in GET_UCS macro → Memory leak on failure in GET_UCS macro
Target Milestone: --- → mozilla0.9.2
dbaron: cvs annotate fingered you, sort of.  Thanks for taking it.

/be
Target Milestone: mozilla0.9.2 → Future

Comment 3

14 years ago
mlk keyword needed?
QA Contact: scc → xpcom

Updated

7 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.