Memory leak in the video reader

When I use the bob.io.video.reader class and read videos frame by frame, I run out of memory after reading some videos. I think we have a memory leak. To reproduce:

import bob.io.video
import bob.io.base
import numpy
my_video = numpy.random.random_integers(0,255,(30,3,256,256))
bob.io.base.save(my_video.astype('uint8'), 'testvideo.avi')
while True:
    vd = bob.io.video.reader('testvideo.avi')
    for frame in vd:
        pass

observe the memory of process going up over time constantly

Edited by Amir MOHAMMADI