[vlc-devel] [PATCH 1/2] Qt: fix memory leak
Hannes Domani
ssbssa at yahoo.de
Tue Jul 7 19:22:00 CEST 2015
---
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;
--
2.4.5
More information about the vlc-devel
mailing list