Browse Source

delete targets data

Michael Vogt 13 years ago
parent
commit
6612c86ef3
1 changed files with 1 additions and 0 deletions
  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