Forgot to close a cursor in a loop.
Merge branch 'master' of github.com:Aurifier/BRiDGE