Closed
Bug 28818
Opened 25 years ago
Closed 24 years ago
MLK: profile migration, node->GetNameUTF8(&profile)
Categories
(Core Graveyard :: Profile: BackEnd, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M15
People
(Reporter: bruce, Assigned: gayatrib)
Details
(Keywords: memory-leak)
From beard's leak data. /mozilla/profile/src/nsProfileAccess.cpp: 850 char *profile = nsnull; 851 rv = node->GetNameUTF8(&profile); that isn't freed at all. It can be freed anywhere after line 891. It also needs to be freed for the return statements at lines 859, 867, 880, and 902.
Reporter | ||
Comment 1•25 years ago
|
||
I'd have done a patch and tested it, but I'm on Solaris and Linux and this bug doesn't exist there.
Comment 2•25 years ago
|
||
I'm reasigning to Gayatri, she is re-writing this section to use PRUnichar for profile names. As part of my first-pass code review of that section I've suggested she switch to nsXPIDLString where appropriate.
Assignee: selmer → gayatrib
Working on fixing this and similar leaks. Should be ready with the fixes in the next few days.
Status: NEW → ASSIGNED
Keywords: mlk
checked in fix.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 6•24 years ago
|
||
Congratulations! So far, your changes look good under Purify and I'm not seeing the memory leaks. Bruce
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 7•24 years ago
|
||
(Did I say that on some other bug?)
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•