diff --git a/js/src/xpconnect/shell/xpcshell.cpp b/js/src/xpconnect/shell/xpcshell.cpp index 9dd68b851458..70e81dbd4c50 100644 --- a/js/src/xpconnect/shell/xpcshell.cpp +++ b/js/src/xpconnect/shell/xpcshell.cpp @@ -1800,7 +1800,7 @@ main(int argc, char **argv, char **envp) // Shut down the crashreporter service to prevent leaking some strings it holds. if (crashReporter) { crashReporter->SetEnabled(PR_FALSE); - crashReporter = null; + crashReporter = nsnull; } #endif