Crashed when delete OGRSpatialReference objects!
OGRSpatialReference* oSRS = new OGRSpatialReference();
oSRS->SetFromUserInput(constChrPtr);
{
...
}
delete oSRS;//crashed here!
//OSRDestroySpatialReference(oSRS) ;//also crashed!
//why?
/*Some one say that may be there are defects in the destructor of this class or the const char* parameter may not properly used here?*/
Similar problem can be referenced here.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)