Linux / gStreamer / Repeated openMovie - closeMove calls: leaking file descriptors

It looks like repeated loadMovie and .close() commands are leaking file descriptors. After a certain time the app crashes with a too many open files error.

The problem disappeared when I was not closing the movie but only stopping and loading again. It’s maybe because of a double close call otherwise, since close is called also internally in loadMovie()?

Indeed, there were more and more open handles in /proc/pid/fd


this is fixed in master

Thanks arturo.