]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debmetaindex.cc
merged r1811..1815 from lp:~donkult/apt/experimental
[apt.git] / apt-pkg / deb / debmetaindex.cc
index ee035191f47be6d0734f7236db53a5f38b54b387..f3ab6960cd67d42b32f8e5c37629c88f0e551dce 100644 (file)
@@ -115,6 +115,13 @@ debReleaseIndex::debReleaseIndex(string URI,string Dist)
    this->Type = "deb";
 }
 
    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 *>;
 vector <struct IndexTarget *>* debReleaseIndex::ComputeIndexTargets() const
 {
    vector <struct IndexTarget *>* IndexTargets = new vector <IndexTarget *>;