Michael Vogt пре 13 година
родитељ
комит
6612c86ef3
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      apt-pkg/deb/debmetaindex.cc

+ 1 - 0
apt-pkg/deb/debmetaindex.cc

@@ -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