Bug 354474 - Feed gArgv/c into trace-malloc to prevent crashes when using -no-remote, patch by Silvain Pasche <sylvain.pasche@gmail.com>, r=me

This commit is contained in:
benjamin%smedbergs.us 2006-09-27 13:39:29 +00:00
parent 852a86e393
commit 643d093cf3

View File

@ -2079,7 +2079,7 @@ XRE_main(int argc, char* argv[], const nsXREAppData* aAppData)
}
#ifdef NS_TRACE_MALLOC
gArgc = argc = NS_TraceMallocStartupArgs(argc, argv);
gArgc = argc = NS_TraceMallocStartupArgs(gArgc, gArgv);
#endif
NS_LogInit();