Closed Bug 29671 Opened 25 years ago Closed 25 years ago

leaking the memory held by pointers within a ProfileStruct

Categories

(Core Graveyard :: Profile: BackEnd, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 29574

People

(Reporter: Brade, Assigned: racham)

Details

(Keywords: memory-leak)

using Patrick Beard's cool memory leak detector on Mac, it looks like we are 
leaking all of the pointers allocated within a ProfileStruct.

I would pinpoint the error in nsProfileAccess::FreeProfileMembers.  Line 119 
calls delete aProfile but it doesn't delete the memory for profileName, 
profileLocation, isMigrated, etc.

Please fix this as soon as possible since all users who open this window will 
leak memory (before they even open a browser window!).  Thanks!
This doesn't seem serious enough to mark beta1.
Target Milestone: M15
add keyword; cc bruce@cybersight.com
note that this leak is caused by FillProfileInfo() which is called for each 
profile (the more profiles you have, the more we leak)
Keywords: mlk

*** This bug has been marked as a duplicate of 29574 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
ok
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.