From ab834013771e76141685b5ca5146160510658126 Mon Sep 17 00:00:00 2001 From: "bsmedberg%covad.net" Date: Tue, 23 Nov 2004 17:20:00 +0000 Subject: [PATCH] Bug 271313 - nsMemory::HeapMinimize crashes r=darin (regression introduced in bug 267767 --- xpcom/base/nsMemoryImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/base/nsMemoryImpl.cpp b/xpcom/base/nsMemoryImpl.cpp index 03de56433b11..a47bd5a46848 100644 --- a/xpcom/base/nsMemoryImpl.cpp +++ b/xpcom/base/nsMemoryImpl.cpp @@ -230,10 +230,10 @@ nsMemoryImpl::IsLowMemory(PRBool *result) nsresult nsMemoryImpl::Startup() { -#ifdef NS_MEMORY_FLUSHER_THREAD sFlushLock = PR_NewLock(); if (!sFlushLock) return NS_ERROR_FAILURE; +#ifdef NS_MEMORY_FLUSHER_THREAD return sGlobalMemoryFlusher.Init(); #else return NS_OK;