]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexcopy.cc
* apt-pkg/packagemanager.cc:
[apt.git] / apt-pkg / indexcopy.cc
index e7bf046a4f580602fb3ac08329cc71c5151b2fa9..57c9f95caa8991949530b6b9bfb7f75a3ca74802 100644 (file)
@@ -592,7 +592,10 @@ bool SigVerify::CopyAndVerify(string CDROM,string Name,vector<string> &SigList,
 
       // a Release.gpg without a Release should never happen
       if(!FileExists(*I+"Release"))
+      {
+        delete MetaIndex;
         continue;
+      }
 
 
       // verify the gpg signature of "Release"