rework the code in cdromutl.cc to make coverity (more) happy
fix resource leak (thanks coverity)