diff --git a/mozilla/tools/trace-malloc/lib/nsDebugHelpWin32.cpp b/mozilla/tools/trace-malloc/lib/nsDebugHelpWin32.cpp index 573da434c51..588c1f48c49 100644 --- a/mozilla/tools/trace-malloc/lib/nsDebugHelpWin32.cpp +++ b/mozilla/tools/trace-malloc/lib/nsDebugHelpWin32.cpp @@ -199,8 +199,8 @@ DHWImportHooker::~DHWImportHooker() cur->mNext = mNext; break; } + PR_ASSERT(cur->mNext); //we were not in the list! } - PR_ASSERT(cur); //we were not in the list! } if(!gHooks)