]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cdrom.cc
methods/mirrors.cc: make cycle through the mirrors work properly
[apt.git] / apt-pkg / cdrom.cc
index 3467f49d78716895bfd595672d7c4e642eddcf24..783ffc43069338c169a79654599378222409c970 100644 (file)
@@ -289,7 +289,8 @@ bool pkgCdrom::DropRepeats(vector<string> &List,const char *Name)
         List[J] = string();
       }
    }  
+   delete[] Inodes;
+
    // Wipe erased entries
    for (unsigned int I = 0; I < List.size();)
    {
@@ -829,8 +830,6 @@ bool pkgCdrom::Add(pkgCdromStatus *log)                                     /*{{{*/
       }
    }
 
-   
-
    // Unmount and finish
    if (_config->FindB("APT::CDROM::NoMount",false) == false) {
       log->Update(_("Unmounting CD-ROM...\n"), STEP_LAST);