Anybody knows why these two lines of code cause corruption on the heap? &nbsp;Thanks.<div><br></div><div><div>OGRPoint* ogr_point = new OGRPoint(5.0, 5.0);</div><div>delete ogr_point;</div><div><br></div><div><br></div><div><br>
</div><br>-- <br><a href="http://giscoder.blogspot.com/">http://giscoder.blogspot.com/</a><br>
</div>