bug #77233, r=waterson, sr=brendan Changed a delete to a free for a malloced ptr
git-svn-id: svn://10.0.0.236/trunk@94951 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -84,8 +84,7 @@ nsThread::~nsThread()
|
||||
("nsIThread %p destroyed\n", this));
|
||||
#if defined(PR_LOGGING)
|
||||
if (this == gMainThread) {
|
||||
delete nsIThreadLog;
|
||||
nsIThreadLog = nsnull;
|
||||
PR_DELETE( nsIThreadLog ); // changed from delete, since it is malloc'ed
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user