Commit 9ef3f5b7 authored by Sergey Radionov's avatar Sergey Radionov Committed by Jean-Baptiste Kempf

ActiveX: Fixed memory leaks in VLCControl2 destructor

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent a7210490
......@@ -1219,11 +1219,11 @@ VLCControl2::VLCControl2(VLCPlugin *p_instance) :
VLCControl2::~VLCControl2()
{
delete _p_vlcvideo;
delete _p_vlcsubtitle;
delete _p_vlcplaylist;
delete _p_vlcinput;
delete _p_vlcaudio;
delete static_cast<VLCVideo*>(_p_vlcvideo);
delete static_cast<VLCSubtitle*>(_p_vlcsubtitle);
delete static_cast<VLCPlaylist*>(_p_vlcplaylist);
delete static_cast<VLCInput*>(_p_vlcinput);
delete static_cast<VLCAudio*>(_p_vlcaudio);
if( _p_typeinfo )
_p_typeinfo->Release();
};
......
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