should fix btek bustage

git-svn-id: svn://10.0.0.236/trunk@113501 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%netscape.com
2002-02-02 02:49:52 +00:00
parent b6b52d0d83
commit 7814a2d020

View File

@@ -244,7 +244,7 @@ nsLocalFile::Clone(nsIFile **file)
// Just copy-construct ourselves
nsCOMPtr<nsILocalFile> localFile = new nsLocalFile(*this);
if (localFile == NULL)
if (!localFile)
return NS_ERROR_OUT_OF_MEMORY;
*file = localFile;