Fixed a possible memleak in cdriso code