Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dont delete layer after it is removed from registry
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10207 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 20, 2009
1 parent 8c1a699 commit 9ba3f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgsrasterlayer.cpp
Expand Up @@ -220,7 +220,7 @@ void TestQgsRasterLayer::registry()
QgsMapLayerRegistry::instance()->addMapLayer(mypLayer,false);
QgsMapLayerRegistry::instance()->removeMapLayer(mypLayer->getLayerID());
//cleanup
delete mypLayer;
//delete mypLayer;
}

//
Expand Down

0 comments on commit 9ba3f29

Please sign in to comment.