mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
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:
parent
aa7ddb58f2
commit
71a0b60df8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user