]> git.saurik.com Git - apt.git/commitdiff
delete targets data
authorMichael Vogt <mvo@debian.org>
Thu, 25 Jul 2013 18:46:08 +0000 (20:46 +0200)
committerMichael Vogt <mvo@debian.org>
Thu, 25 Jul 2013 18:46:08 +0000 (20:46 +0200)
apt-pkg/deb/debmetaindex.cc

index 7dd5ab2bf71d652c1256f4a2d92a6560a90700b9..b597b6f3c281898e990fb6ead38d1530f61e0592 100644 (file)
@@ -238,6 +238,7 @@ bool debReleaseIndex::GetIndexes(pkgAcquire *Owner, bool const &GetAll) const
         new pkgAcqIndex(Owner, (*Target)->URI, (*Target)->Description,
                         (*Target)->ShortDesc, HashString());
       }
+      delete targets;
 
       // this is normally created in pkgAcqMetaSig, but if we run
       // in --print-uris mode, we add it here