Fixed memory leak
Merge branch 'OpenMAF-2-2' of github.com:b3c/MAF2Medical into OpenMAF-2-2