[PATCH 3/3] qemu: Fix memory leak fix memory leak in the condition of attaching cdrom