Commit 56caef79 authored by Sergey Radionov's avatar Sergey Radionov Committed by Jean-Baptiste Kempf

ActiveX: VLCPlugin was never destroyed. fixed

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 95a9f7ec
......@@ -229,11 +229,6 @@ VLCPlugin::VLCPlugin(VLCPluginClass *p_class, LPUNKNOWN pUnkOuter) :
_b_usermode(TRUE),
_WindowsManager(DllGetModule())
{
/*
** bump refcount to avoid recursive release from
** following interfaces when releasing this interface
*/
AddRef();
p_class->AddRef();
vlcOleControl = new VLCOleControl(this);
......@@ -299,7 +294,6 @@ VLCPlugin::~VLCPlugin()
if( _p_libvlc ) { libvlc_release(_p_libvlc); _p_libvlc=NULL; }
_p_class->Release();
Release();
};
STDMETHODIMP VLCPlugin::QueryInterface(REFIID riid, void **ppv)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment