Opened 12 years ago

Closed 12 years ago

#4757 closed enhancement (fixed)

OGRGeometryFactory::createFromWkt() method comments do not explain how to clear allocated memory for new OGRGeometry class created

Reported by: BrianC Owned by: warmerdam
Priority: low Milestone:
Component: OGR_SF Version: unspecified
Severity: trivial Keywords: OGRGeometryFactory createdFromWkt WKT
Cc:

Description

The following method will create a new Geomerty object and assign it to the passed in pointer but does not mention how you can free it (using OGRGeometryFactory::destroyGeometry()) , this should be mentioned in the comments. OGRGeometryFactory::createFromWkt

Change History (1)

comment:1 by Even Rouault, 12 years ago

Resolution: fixed
Status: newclosed

r24890: Doc improvements to mention the free function to use (#4756, #4757)

Note: See TracTickets for help on using tickets.