[vlc-devel] commit: Qt4/DialogEvent: fix memleak ( Rémi Duraffort )

git version control git at videolan.org
Wed Oct 29 22:21:34 CET 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Oct 29 22:12:59 2008 +0100| [6e8667b72dbb0131ee571ed402da0271c18c7799] | committer: Rémi Duraffort 

Qt4/DialogEvent: fix memleak

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

 modules/gui/qt4/util/qvlcapp.hpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/util/qvlcapp.hpp b/modules/gui/qt4/util/qvlcapp.hpp
index 3738c11..64155ce 100644
--- a/modules/gui/qt4/util/qvlcapp.hpp
+++ b/modules/gui/qt4/util/qvlcapp.hpp
@@ -60,7 +60,7 @@ public:
         i_arg = _i_arg;
         p_arg = _p_arg;
     };
-    virtual ~DialogEvent() {};
+    virtual ~DialogEvent() { delete p_arg; };
 
     int i_arg, i_dialog;
     intf_dialog_args_t *p_arg;




More information about the vlc-devel mailing list