зеркало из https://github.com/mozilla/gecko-dev.git
*** NOT PART OF THE BUILD !!!***
Fix for 176229 Sample plugins are not properly destroyed in NS_DestroyPluginInstance
This commit is contained in:
Родитель
9452f46ac8
Коммит
b167c28263
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -73,7 +73,7 @@ nsPluginInstanceBase * NS_NewPluginInstance(nsPluginCreateData * aCreateDataStru
|
|||
void NS_DestroyPluginInstance(nsPluginInstanceBase * aPlugin)
|
||||
{
|
||||
if(aPlugin)
|
||||
delete aPlugin;
|
||||
delete (nsPluginInstance *)aPlugin;
|
||||
}
|
||||
|
||||
////////////////////////////////////////
|
||||
|
|
|
@ -75,7 +75,7 @@ nsPluginInstanceBase * NS_NewPluginInstance(nsPluginCreateData * aCreateDataStru
|
|||
void NS_DestroyPluginInstance(nsPluginInstanceBase * aPlugin)
|
||||
{
|
||||
if(aPlugin)
|
||||
delete aPlugin;
|
||||
delete (nsPluginInstance *)aPlugin;
|
||||
}
|
||||
|
||||
////////////////////////////////////////
|
||||
|
|
|
@ -70,7 +70,7 @@ nsPluginInstanceBase * NS_NewPluginInstance(nsPluginCreateData * aCreateDataStru
|
|||
void NS_DestroyPluginInstance(nsPluginInstanceBase * aPlugin)
|
||||
{
|
||||
if(aPlugin)
|
||||
delete aPlugin;
|
||||
delete (nsPluginInstance *)aPlugin;
|
||||
}
|
||||
|
||||
////////////////////////////////////////
|
||||
|
|
|
@ -73,7 +73,7 @@ nsPluginInstanceBase * NS_NewPluginInstance(nsPluginCreateData * aCreateDataStru
|
|||
void NS_DestroyPluginInstance(nsPluginInstanceBase * aPlugin)
|
||||
{
|
||||
if(aPlugin)
|
||||
delete aPlugin;
|
||||
delete (nsPluginInstance *)aPlugin;
|
||||
}
|
||||
|
||||
////////////////////////////////////////
|
||||
|
|
|
@ -82,7 +82,7 @@ nsPluginInstanceBase * NS_NewPluginInstance(nsPluginCreateData * aCreateDataStru
|
|||
void NS_DestroyPluginInstance(nsPluginInstanceBase * aPlugin)
|
||||
{
|
||||
if(aPlugin)
|
||||
delete aPlugin;
|
||||
delete (nsPluginInstance *)aPlugin;
|
||||
}
|
||||
|
||||
////////////////////////////////////////
|
||||
|
|
|
@ -71,7 +71,7 @@ nsPluginInstanceBase * NS_NewPluginInstance(nsPluginCreateData * aCreateDataStru
|
|||
void NS_DestroyPluginInstance(nsPluginInstanceBase * aPlugin)
|
||||
{
|
||||
if(aPlugin)
|
||||
delete aPlugin;
|
||||
delete (nsPluginInstance *)aPlugin;
|
||||
}
|
||||
|
||||
////////////////////////////////////////
|
||||
|
|
|
@ -102,7 +102,7 @@ nsPluginInstanceBase * NS_NewPluginInstance(nsPluginCreateData * aCreateDataStru
|
|||
void NS_DestroyPluginInstance(nsPluginInstanceBase * aPlugin)
|
||||
{
|
||||
if(aPlugin)
|
||||
delete aPlugin;
|
||||
delete (nsPluginInstance *)aPlugin;
|
||||
}
|
||||
|
||||
////////////////////////////////////////
|
||||
|
|
|
@ -74,7 +74,7 @@ nsPluginInstanceBase * NS_NewPluginInstance(nsPluginCreateData * aCreateDataStru
|
|||
void NS_DestroyPluginInstance(nsPluginInstanceBase * aPlugin)
|
||||
{
|
||||
if(aPlugin)
|
||||
delete aPlugin;
|
||||
delete (nsPluginInstance *)aPlugin;
|
||||
}
|
||||
|
||||
////////////////////////////////////////
|
||||
|
|
Загрузка…
Ссылка в новой задаче