jcoupon / venice

Fast decision tree software in spherical coordinates for finding objects contaminated by artifacts in images. Highly optimized for large data sets and high number of masks.
https://github.com/jcoupon/venice
12 stars 6 forks source link

free all nodes not only the leaves #1

Closed bengranett closed 9 years ago

bengranett commented 9 years ago

Hi Jean, While running the python wrapper for venice I realized that the memory was not being freed. The problem seems to be that free_Node is only reaching the leaves of the tree. This fix should clear every node. Ben

jcoupon commented 9 years ago

Merged. Thanks Ben.