Closed
Bug 77233
Opened 24 years ago
Closed 24 years ago
FMM: Freeing mismatched memory in delete(void *) {1 occurrence}
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: waterson, Assigned: kandrot)
Details
Attachments
(2 files)
|
560 bytes,
patch
|
Details | Diff | Splinter Review | |
|
563 bytes,
patch
|
Details | Diff | Splinter Review |
Purify coughed up this hairball on nsThread.
[E] FMM: Freeing mismatched memory in delete(void *) {1 occurrence}
Address 0x02bf6850 points into a malloc'd block
Location of free attempt
delete(void *) [dbgdel.cpp:35]
nsThread::~nsThread(void) [nsThread.cpp:87]
nsThread::`vector deleting destructor'(UINT) [xpcom.dll]
nsThread::Release(void) [nsThread.cpp:148]
nsThread::Shutdown(void) [nsThread.cpp:404]
NS_ShutdownXPCOM(nsIServiceManager *) [nsXPComInit.cpp:515]
main [nsWinMain.cpp:160]
mainCRTStartup [crtexe.c:338]
Allocation location
calloc [dbgheap.c:445]
PR_Calloc [prmem.c:48]
PR_NewLogModule [prlog.c:299]
nsThread::nsThread(void) [nsThread.cpp:62]
nsIThread::GetIThread(PRThread *,nsIThread * *) [nsThread.cpp:360]
nsIThread::GetCurrent(nsIThread * *) [nsThread.cpp:341]
nsIThread::SetMainThread(void) [nsThread.cpp:382]
NS_InitXPCOM2(nsIServiceManager * *,nsIFile
*,nsIDirectoryServiceProvider *) [nsXPComInit.cpp:259]
NS_InitXPCOM(nsIServiceManager * *,nsIFile *) [nsXPComInit.cpp:244]
main [nsWinMain.cpp:152]
| Assignee | ||
Comment 1•24 years ago
|
||
Comment 3•24 years ago
|
||
PR_DELETE sets its macro-parameter to null, so the caller should not. Other
than that, r/sr=brendan@mozilla.org.
/be
| Assignee | ||
Comment 4•24 years ago
|
||
| Reporter | ||
Comment 5•24 years ago
|
||
r=waterson
| Assignee | ||
Comment 6•24 years ago
|
||
Thanks. I just checked it in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•