From d29bc03ec51723dc744be6f7a06c92ab9968f72b Mon Sep 17 00:00:00 2001 From: "kandrot%netscape.com" Date: Tue, 15 May 2001 05:55:15 +0000 Subject: [PATCH] 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 --- mozilla/xpcom/threads/nsThread.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 }