Python: fix memory leak when using iterators
Python: fix memory leak when using iterators

Change-Id: I95bc25a5bc48b4d609f1c3a1bf9c4ee329bd04c7
Reviewed-on: http://gerrit.aldebaran.lan/37766
Reviewed-by: cgestes <ddb78fe00abb42f91254c16a0860e38eb0781789@aldebaran-robotics.com>
Reviewed-by: pdaouadi <fc1eb3334d3fdad315bae23aa166bc70bd434067@aldebaran-robotics.com>
Tested-by: pdaouadi <fc1eb3334d3fdad315bae23aa166bc70bd434067@aldebaran-robotics.com>

aldebaran/libqi,aldebaran/libqi,vbarbaresi/libqi,aldebaran/libqi,bsautron/libqi