зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
d599d55b56
Коммит
9ac17d125b
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче