[vlc-commits] Qt: fix memory leak

Hannes Domani git at videolan.org
Wed Oct 21 18:19:38 CEST 2015


vlc/vlc-2.2 | branch: master | Hannes Domani <ssbssa at yahoo.de> | Tue Jul  7 19:22:00 2015 +0200| [81987901b362617968bff4423b9034cb55448877] | committer: Jean-Baptiste Kempf

Qt: fix memory leak

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

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

 modules/gui/qt4/dialogs/toolbar.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt4/dialogs/toolbar.cpp b/modules/gui/qt4/dialogs/toolbar.cpp
index c1e667a..4a8d48a 100644
--- a/modules/gui/qt4/dialogs/toolbar.cpp
+++ b/modules/gui/qt4/dialogs/toolbar.cpp
@@ -888,6 +888,8 @@ bool DroppingController::eventFilter( QObject *obj, QEvent *event )
             /* Start the effective drag */
             drag->exec(Qt::CopyAction | Qt::MoveAction, Qt::MoveAction);
             b_draging = false;
+
+            delete dI;
             }
             return true;
 



More information about the vlc-commits mailing list