summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcachegen.cc
diff options
context:
space:
mode:
authorColin Watson <cjwatson@canonical.com>2012-10-16 11:35:49 +0100
committerColin Watson <cjwatson@canonical.com>2012-10-16 11:35:49 +0100
commitbed5b76cfc18fbe0683acb17b4162a49390848f3 (patch)
tree80c2a364b7c7edaefa287748eac3dd36ac0a70a2 /apt-pkg/pkgcachegen.cc
parent4f18d36ed64f42cc99f40701f66532dc59d4af09 (diff)
Revert "missing remap registration" change from 0.9.7.5ubuntu4; this
iterator was already registered, and double registration causes a crash (LP: #1067056).
Diffstat (limited to 'apt-pkg/pkgcachegen.cc')
-rw-r--r--apt-pkg/pkgcachegen.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc
index 03f8aea5a..67018f057 100644
--- a/apt-pkg/pkgcachegen.cc
+++ b/apt-pkg/pkgcachegen.cc
@@ -722,7 +722,6 @@ unsigned long pkgCacheGenerator::NewVersion(pkgCache::VerIterator &Ver,
// Fill it in
Ver = pkgCache::VerIterator(Cache,Cache.VerP + Version);
- Dynamic<pkgCache::VerIterator> DynV(Ver);
Ver->NextVer = Next;
Ver->ID = Cache.HeaderP->VersionCount++;
map_ptrloc const idxVerStr = WriteStringInMap(VerStr);