properly undo CD-ROM mount in all error cases
authorJohn Ogness <john.ogness@linutronix.de>
Mon, 21 Apr 2014 09:54:34 +0000 (11:54 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 26 Apr 2014 07:51:05 +0000 (09:51 +0200)
commit7187074bfc7a6932ab21c33546e71b61abe258e3
treefa06f51b8270057c91c77212ede5200c8d722ae3
parent12701ee3e5a637e5e45c633dc9aa2b16b81df0b8
properly undo CD-ROM mount in all error cases

In bug #740673 various issues in the CD-ROM handling code were
identified, while most the issues ended up being fixed in another way,
the unmounting of the CD-ROM in error cases was not tackled so far.

(The patch was modified by the commiter to apply)
apt-pkg/cdrom.cc
apt-pkg/cdrom.h