mem leak - rev'd by dp

git-svn-id: svn://10.0.0.236/trunk@41048 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
valeski%netscape.com
1999-07-25 13:37:16 +00:00
parent 8a52f1dd60
commit 4318fb5b37

View File

@@ -1790,6 +1790,8 @@ nsComponentManagerImpl::SyncComponentsInDir(RegistrationTime when, nsIFileSpec *
// the file isn't a component like initpref.js
// So dont break on these errors.
}
NS_RELEASE(dirEntry);
rv = dirIterator->next();
if (NS_FAILED(rv)) return rv;