summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debmetaindex.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-06-30 14:11:31 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2009-06-30 14:11:31 +0200
commit7a9f09bd66d51b92bb68f07e7fbc111df6206c93 (patch)
treeb3e2a019b49b4a095e8c9f6b6423e57a5a388506 /apt-pkg/deb/debmetaindex.cc
parent6ae07b82316f846bc8d45f77ce75a4f8f387d6a2 (diff)
merged r1811..1815 from lp:~donkult/apt/experimental
Diffstat (limited to 'apt-pkg/deb/debmetaindex.cc')
-rw-r--r--apt-pkg/deb/debmetaindex.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc
index ee035191f..f3ab6960c 100644
--- a/apt-pkg/deb/debmetaindex.cc
+++ b/apt-pkg/deb/debmetaindex.cc
@@ -115,6 +115,13 @@ debReleaseIndex::debReleaseIndex(string URI,string Dist)
this->Type = "deb";
}
+debReleaseIndex::~debReleaseIndex()
+{
+ for (vector<const debSectionEntry *>::const_iterator I = SectionEntries.begin();
+ I != SectionEntries.end(); I++)
+ delete *I;
+}
+
vector <struct IndexTarget *>* debReleaseIndex::ComputeIndexTargets() const
{
vector <struct IndexTarget *>* IndexTargets = new vector <IndexTarget *>;