Skip to content
Permalink
Browse files

Merge pull request #9322 from m-kuhn/fix-double-delete

[geometry validation] Fix double delete and memory leak
  • Loading branch information
m-kuhn committed Mar 2, 2019
2 parents 34684d4 + d1a7e45 commit ac78a194dfb9a19b92deefe798062427e2319ebf
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsgeometryvalidationdock.cpp
@@ -335,7 +335,7 @@ void QgsGeometryValidationDock::showHighlight( const QModelIndex &current )

QPropertyAnimation *errorAnimation = new QPropertyAnimation( mErrorRubberband, "fillColor" );
errorAnimation->setEasingCurve( QEasingCurve::OutQuad );
connect( errorAnimation, &QPropertyAnimation::finished, featureAnimation, &QPropertyAnimation::deleteLater );
connect( errorAnimation, &QPropertyAnimation::finished, errorAnimation, &QPropertyAnimation::deleteLater );
connect( errorAnimation, &QPropertyAnimation::valueChanged, this, [this]
{
mErrorRubberband->update();

0 comments on commit ac78a19

Please sign in to comment.
You can’t perform that action at this time.