diff --git a/mozilla/xpcom/threads/nsThread.cpp b/mozilla/xpcom/threads/nsThread.cpp index 59d975c0637..7ac7c8297f8 100644 --- a/mozilla/xpcom/threads/nsThread.cpp +++ b/mozilla/xpcom/threads/nsThread.cpp @@ -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 }