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:
kandrot%netscape.com
2001-05-15 05:55:15 +00:00
parent 79c9fb3f3e
commit d29bc03ec5

View File

@@ -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
}