Commit 46a7255a authored by Ludovic Fauvet's avatar Ludovic Fauvet

Using delete in this context is against the COM rules

This also kills warnings (see #7980).
Thanks to jacek from #mingw-w64
parent 14f182e7
......@@ -303,9 +303,9 @@ public:
_p_vlcmarquee(new VLCMarquee(p)), _p_vlclogo(new VLCLogo(p)),
_p_vlcdeint(new VLCDeinterlace(p)) { }
virtual ~VLCVideo() {
delete _p_vlcmarquee;
delete _p_vlclogo;
delete _p_vlcdeint;
_p_vlcmarquee->Release();
_p_vlclogo->Release();
_p_vlcdeint->Release();
}
// IVLCVideo methods
......
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