[vlc-commits] Add missing virtual dtor to avoid resource leak

Ludovic Fauvet git at videolan.org
Tue Jan 8 11:56:27 CET 2013


npapi-vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Tue Jan  8 11:53:34 2013 +0100| [db4049c8667141d9c1dfde0f61f97962930f0574] | committer: Ludovic Fauvet

Add missing virtual dtor to avoid resource leak

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=db4049c8667141d9c1dfde0f61f97962930f0574
---

 activex/vlccontrol2.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/activex/vlccontrol2.h b/activex/vlccontrol2.h
index 5424021..42c1f58 100644
--- a/activex/vlccontrol2.h
+++ b/activex/vlccontrol2.h
@@ -66,6 +66,8 @@ public:
     VLCInterface(VLCPlugin *p): Base(p) { }
     VLCPlugin *Instance() const { return Base::Instance(); }
 
+    virtual ~VLCInterface() { }
+
     HRESULT getVLC(libvlc_instance_t **pp) const { return Base::getVLC(pp); }
     HRESULT getMD(libvlc_media_player_t **pp) const { return Base::getMD(pp); }
 



More information about the vlc-commits mailing list