diff --git a/xpcom/base/nsMemoryImpl.cpp b/xpcom/base/nsMemoryImpl.cpp index 7edbc93d2793..18df3396b3fe 100644 --- a/xpcom/base/nsMemoryImpl.cpp +++ b/xpcom/base/nsMemoryImpl.cpp @@ -129,8 +129,6 @@ nsMemoryImpl::IsLowMemory(PRBool *result) *result = (stat.ullAvailPageFile < kRequiredMemory) && ((float)stat.ullAvailPageFile / stat.ullTotalPageFile) < 0.1; #elif defined(NS_OSSO) - // We see about 1/4 of the cost by caching the fd and using - // rewind. XXX leaking this fd. static int osso_highmark_fd = -1; if (osso_highmark_fd == -1) { osso_highmark_fd = open (kHighMark, O_RDONLY);