Ticket #44 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

All functions that return char* in the Python bindings leak

Reported by: hobu Owned by: hobu
Priority: major Milestone: 1.0
Component: Python Bindings Version:
Keywords: Cc:
LAS Format Version:

Description

We need a ctypes errcheck function to free the return of char* methods in the C API.

Shapely has a nice pattern to follow. The errcheck function should be called check_value_free

http://trac.gispython.org/projects/PCL/browser/Shapely/trunk/shapely/wkb.py#L26

Change History

Changed 7 months ago by hobu

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

Fixed in r669

Note: See TracTickets for help on using tickets.