Commit c5a36efc authored by Hannes Domani's avatar Hannes Domani Committed by Jean-Baptiste Kempf

Qt: fix memory leak

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a81cc9be
...@@ -888,6 +888,8 @@ bool DroppingController::eventFilter( QObject *obj, QEvent *event ) ...@@ -888,6 +888,8 @@ bool DroppingController::eventFilter( QObject *obj, QEvent *event )
/* Start the effective drag */ /* Start the effective drag */
drag->exec(Qt::CopyAction | Qt::MoveAction, Qt::MoveAction); drag->exec(Qt::CopyAction | Qt::MoveAction, Qt::MoveAction);
b_draging = false; b_draging = false;
delete dI;
} }
return true; return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment