memory leaks fixed

COM interfaces were not fully released in the previous build -> fixed
now