Skip to content

Commit

Permalink
Destroy layers in TestQgsVectorAnalyzer::cleanupTestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Feb 3, 2016
1 parent ea27a8f commit 060dca6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/src/analysis/testqgsvectoranalyzer.cpp
Expand Up @@ -86,6 +86,9 @@ void TestQgsVectorAnalyzer::initTestCase()
}
void TestQgsVectorAnalyzer::cleanupTestCase()
{
delete mpLineLayer;
delete mpPolyLayer;
delete mpPointLayer;
QgsApplication::exitQgis();
}
void TestQgsVectorAnalyzer::init()
Expand Down

0 comments on commit 060dca6

Please sign in to comment.