Skip to content

Commit

Permalink
Fix leaking QTabletEventPrivate instance
Browse files Browse the repository at this point in the history
Fixes: QTBUG-52279
Change-Id: I4f40fc9d3ce938b4c821f10cacd21e6f652a2227
Reviewed-by: Shawn Rutledge <[email protected]>
  • Loading branch information
Kirill Burtsev committed Oct 25, 2018
1 parent 38afa46 commit d2e0e41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/kernel/qevent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2494,6 +2494,7 @@ QTabletEvent::QTabletEvent(Type type, const QPointF &pos, const QPointF &globalP
*/
QTabletEvent::~QTabletEvent()
{
delete static_cast<QTabletEventPrivate *>(mExtra);
}

/*!
Expand Down

0 comments on commit d2e0e41

Please sign in to comment.