[gdal-dev] how to free p(OGRLinearRing *p = new OGRLinearRing(); ) properly

梁天辰 2284168009 at qq.com
Mon May 13 00:56:07 PDT 2013


Hi,
 
OGRLinearRing *p = new OGRLinearRing(); 
//that's a runtime error 
delete p;

I've tried OGRCleanupAll(); but it didn't work.

What is the proper way to free pointer p,thanks for your help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130513/120be703/attachment.html>


More information about the gdal-dev mailing list