From aa29f5e0f6d10ee8284019b82dedd5683feaeacf Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 31 May 2011 12:19:55 +0200 Subject: [PATCH] mshtml: Don't release plugins collection in OmNavigator destructor since it contains a weak reference. --- dlls/mshtml/omnavigator.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/mshtml/omnavigator.c b/dlls/mshtml/omnavigator.c index 95e8930b394..611f07dfd2d 100644 --- a/dlls/mshtml/omnavigator.c +++ b/dlls/mshtml/omnavigator.c @@ -366,10 +366,8 @@ static ULONG WINAPI OmNavigator_Release(IOmNavigator *iface) TRACE("(%p) ref=%d\n", This, ref); if(!ref) { - if(This->plugins) { + if(This->plugins) This->plugins->navigator = NULL; - IHTMLPluginsCollection_Release(&This->plugins->IHTMLPluginsCollection_iface); - } if(This->mime_types) This->mime_types->navigator = NULL; release_dispex(&This->dispex);