Checking in the fix for bug 265936. Fixing memory leak in nsPluginHostImpl::ScanPluginsDirectory(). Patch by brian.lu@sun.com, r+sr=jst@mozilla.org

This commit is contained in:
jst%mozilla.jstenback.com 2004-11-12 01:14:32 +00:00
parent aa7ddb58f2
commit 71a0b60df8

View File

@ -4858,6 +4858,8 @@ nsresult nsPluginHostImpl::ScanPluginsDirectory(nsIFile * pluginsDir,
// if we are not creating the list, just continue the loop
// no need to proceed if changes are detected
if (!aCreatePluginList) {
delete pluginTag;
if (*aPluginsChanged)
return NS_OK;
else