diff options
author | Michael Vogt <mvo@debian.org> | 2013-12-03 21:49:02 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-12-03 21:49:02 +0100 |
commit | 1a22e16a1ebf08243c1836e1c593cb966cae4850 (patch) | |
tree | 8e183f0c3c00151d20263813938308d4a01b478e /apt-pkg/metaindex.h | |
parent | 80cc2c3723a1e28f45edd78168c72a26d41403e9 (diff) |
proof-of-concept for fixing debian #731102
Diffstat (limited to 'apt-pkg/metaindex.h')
-rw-r--r-- | apt-pkg/metaindex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/metaindex.h b/apt-pkg/metaindex.h index 5783735ff..0c2600c3a 100644 --- a/apt-pkg/metaindex.h +++ b/apt-pkg/metaindex.h @@ -48,7 +48,8 @@ class metaIndex virtual ~metaIndex() { if (Indexes == 0) return; - for (std::vector<pkgIndexFile *>::iterator I = (*Indexes).begin(); I != (*Indexes).end(); ++I) + for (std::vector<pkgIndexFile *>::iterator I = (*Indexes).begin(); + I != (*Indexes).end(); ++I) delete *I; delete Indexes; } |