summaryrefslogtreecommitdiff
path: root/ftparchive
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2011-01-25 11:06:21 +0100
committerMichael Vogt <mvo@debian.org>2011-01-25 11:06:21 +0100
commitf92800f801341091b25af96c34927529f36ad65a (patch)
treece373c2fab1a3d4e9516866ce683b0e153b206ab /ftparchive
parenta953a42711d485a92794f157db41b33709856dbf (diff)
downloadapt-f92800f801341091b25af96c34927529f36ad65a.tar.gz
releasing version 0.8.10.20.8.10.2
Diffstat (limited to 'ftparchive')
-rw-r--r--ftparchive/apt-ftparchive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftparchive/apt-ftparchive.cc b/ftparchive/apt-ftparchive.cc
index 73d34249b..0c29002e6 100644
--- a/ftparchive/apt-ftparchive.cc
+++ b/ftparchive/apt-ftparchive.cc
@@ -832,7 +832,7 @@ bool Generate(CommandLine &CmdL)
}
// close the Translation master files
- for (vector<PackageMap>::iterator I = PkgList.begin(); I != PkgList.end(); I++)
+ for (vector<PackageMap>::reverse_iterator I = PkgList.rbegin(); I != PkgList.rend(); I++)
if (I->TransWriter != NULL && I->TransWriter->DecreaseRefCounter() == 0)
delete I->TransWriter;