Skip to content

Commit 9ba3f29

Browse files
author
timlinux
committedFeb 20, 2009
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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/src/core/testqgsrasterlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ void TestQgsRasterLayer::registry()
220220
QgsMapLayerRegistry::instance()->addMapLayer(mypLayer,false);
221221
QgsMapLayerRegistry::instance()->removeMapLayer(mypLayer->getLayerID());
222222
//cleanup
223-
delete mypLayer;
223+
//delete mypLayer;
224224
}
225225

226226
//

0 commit comments

Comments
 (0)
Please sign in to comment.