Skip to content
Permalink
Browse files

coverity fixes

  • Loading branch information
jef-n committed Nov 29, 2015
1 parent 0519423 commit c14352fa551c1c6130908bed4d4c9abb82ecf1a3
Showing with 1 addition and 2 deletions.
  1. +1 −0 src/core/qgsvectorlayerlabelprovider.cpp
  2. +0 −2 tests/src/core/testqgsgeometry.cpp
@@ -380,6 +380,7 @@ QgsGeometry* QgsVectorLayerLabelProvider::getPointObstacleGeometry( QgsFeature&
}
else
{
delete obstacleGeom;
obstacleGeom = obstaclePolygon;
}
}
@@ -496,7 +496,6 @@ void TestQgsGeometry::pointV2()
QCOMPARE( size, p12.wkbSize() );
QgsPointV2 p13;
p13.fromWkb( wkb );
delete wkb;
wkb = 0;
QVERIFY( p13 == p12 );

@@ -508,7 +507,6 @@ void TestQgsGeometry::pointV2()
p13 = QgsPointV2( 1, 2 );
wkb = line.asWkb( size );
QVERIFY( !p13.fromWkb( wkb ) );
delete wkb;
wkb = 0;
QCOMPARE( p13.wkbType(), QgsWKBTypes::Unknown );

0 comments on commit c14352f

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