mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Build bustage fix, bug 519357. I hate compilers.
This commit is contained in:
parent
1ead4f5856
commit
105915805e
@ -2987,7 +2987,7 @@ nsComponentManagerImpl::AutoRegisterComponentsList(nsIFile* inDir,
|
||||
if (PR_SUCCESS != PR_GetOpenFileInfo(fd, &info))
|
||||
return NS_ErrorAccordingToNSPR();
|
||||
|
||||
nsAutoArrayPtr<char> buf = new char[info.size + 1];
|
||||
nsAutoArrayPtr<char> buf(new char[info.size + 1]);
|
||||
if (!buf)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user