Opened 12 years ago

Closed 12 years ago

#4756 closed enhancement (fixed)

OGRGeometry::exportToWkt() method comments should explain how to free allocated memory

Reported by: BrianC Owned by: warmerdam
Priority: low Milestone:
Component: OGR_SF Version: unspecified
Severity: trivial Keywords: comments exportToWkt
Cc:

Description

The following method (and derived classes) mention that ppszDstText will be "allocated by the program" but do not mention how you can free it (using OGRFree()) , this should be mentioned in the comments.

OGRGeometry::exportToWkt (char ppszDstText)

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.