[vlc-commits] Qt: fix memory leaks

Hannes Domani git at videolan.org
Wed Oct 21 18:16:23 CEST 2015


vlc/vlc-2.2 | branch: master | Hannes Domani <ssbssa at yahoo.de> | Fri Jul  3 14:35:22 2015 +0200| [9f790ebdb9741b2ecbeca59270bd208b99466551] | committer: Jean-Baptiste Kempf

Qt: fix memory leaks

(cherry picked from commit cc04815c5e5cd7996a2da36d2b785a520ad8b4cd)
(cherry picked from commit 6dc0dc338b2b4962fa23f19dc35488eed896057c)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=9f790ebdb9741b2ecbeca59270bd208b99466551
---

 modules/gui/qt4/components/open_panels.cpp |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 92300be..e9b9a1d 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -1110,6 +1110,10 @@ void CaptureOpenPanel::initialize()
 
 CaptureOpenPanel::~CaptureOpenPanel()
 {
+#ifdef _WIN32
+    delete vdevDshowW;
+    delete adevDshowW;
+#endif
 }
 
 void CaptureOpenPanel::clear()



More information about the vlc-commits mailing list