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
Родитель aa7ddb58f2
Коммит 71a0b60df8
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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