Opened 16 years ago

Closed 16 years ago

#2302 closed defect (fixed)

[PATCH] Fix memory leak in FieldDefn.Destroy and FeatureDefn.Destroy in python swig bindings

Reported by: Even Rouault Owned by: hobu
Priority: normal Milestone: 1.6.0
Component: SWIG (all bindings) Version: unspecified
Severity: normal Keywords: swig python destroy
Cc: warmerdam

Description

Hobu,

Do you agree with the attached patch ? Running Valgrind on autotest suite shows reduced memory leaks when applied.

Attachments (1)

gdal_svn_trunk_swig_python_delete_fielddefn_featuredefn.patch (710 bytes ) - added by Even Rouault 16 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Even Rouault, 16 years ago

Cc: warmerdam added

Patch commited in r14282.

Frank, could you please regenerate the python bindings ?

comment:2 by warmerdam, 16 years ago

Python bindings regenerated in r14302.

comment:3 by Even Rouault, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.