Ticket #4756 (closed enhancement: fixed)

Opened 10 months ago

Last modified 9 months ago

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

Changed 9 months ago by rouault

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.