should fix btek bustage

This commit is contained in:
darin@netscape.com
2002-02-02 02:49:52 +00:00
parent d404d26bad
commit 389950bb59

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;