Closed
Bug 13298
Opened 26 years ago
Closed 26 years ago
MLK: nsProfile::GetProfileDir()
Categories
(Core Graveyard :: Profile: BackEnd, defect, P3)
Core Graveyard
Profile: BackEnd
Tracking
(Not tracked)
VERIFIED
FIXED
M11
People
(Reporter: bruce, Assigned: alecf)
References
Details
nsRegistry::GetString() allocates. Please nsCRT::free() it.
[W] MLK: Memory leak of 4 bytes from 1 block allocated in PR_Malloc
Distribution of leaked blocks
4 bytes from 1 block of 4 bytes (0x072c9fa0) allocation number
82417
Allocation location
malloc [dbgheap.c:129]
PR_Malloc [prmem.c:38]
nsRegistry::GetString(DWORD,char const*,char * *)
[nsRegistry.cpp:521]
nsProfile::GetProfileDir(char const*,nsFileSpec *)
[nsProfile.cpp:362]
nsProfile::GetCurrentProfileDir(nsFileSpec *) [nsProfile.cpp:822]
LocalStoreImpl::Init(void) [nsLocalStore.cpp:328]
NS_NewLocalStore(nsILocalStore * *) [nsLocalStore.cpp:214]
RDFFactoryImpl::CreateInstance(nsISupports *,nsID const&,void * *)
[nsRDFFactory.cpp:247]
nsComponentManagerImpl::CreateInstance(nsID const&,nsISupports
*,nsID const&,void * *) [nsComponentManager.cpp:1203]
nsComponentManager::CreateInstance(nsID const&,nsISupports *,nsID
const&,void * *) [nsRepository.cpp:77]
nsServiceManagerImpl::GetService(nsID const&,nsID const&,nsISupports
* *,nsIShutdownListener *) [nsServiceManager.cpp:237]
nsServiceManagerImpl::GetService(char const*,nsID const&,nsISupports
* *,nsIShutdownListener *) [nsServiceManager.cpp:381]
nsServiceManager::GetService(char const*,nsID const&,nsISupports *
*,nsIShutdownListener *) [nsServiceManager.cpp:485]
ServiceImpl::GetDataSource(char const*,nsIRDFDataSource * *)
[nsRDFService.cpp:1023]
XULDocumentImpl::EndLoad(void) [nsXULDocument.cpp:2066]
| Assignee | ||
Comment 2•26 years ago
|
||
Taking all these bugs to be fixed appropriately.
| Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 3•26 years ago
|
||
racham, I'm fixing this for you.
Please look at my checkins and learn how to use nsXPIDLCString.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•26 years ago
|
||
dev bug
Moving all Profile Manager bugs to new Profile Manager Backend component.
Profile Manager component to be deleted.
Updated•10 years ago
|
Product: Core → Core Graveyard
| Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•