Fix memory error, eliminate memory leak in iteration
Merge pull request #34 from jimbraun/0033-memory-error-in-pybindings

Fix memory error, eliminate memory leak in iteration