summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-08-22 23:00:31 +0200
committerMichael Vogt <mvo@debian.org>2013-08-22 23:00:31 +0200
commit6fd51a5f4300f4b1563cdf2a34f59e6bbaacb838 (patch)
tree6469d9c9f58ebce2557a9689b8907752990734b3 /apt-pkg/acquire-item.cc
parent329dea2d39d2518e43f0761c1c89990857e197ad (diff)
parent2510eea4a0922b7b6da8099deb70ca87851633ce (diff)
Merge branch 'debian/sid' of ssh://git.debian.org/git/apt/apt into debian/sid
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 95dadcd6d..97b2d1e29 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -984,6 +984,8 @@ void pkgAcqIndex::Done(string Message,unsigned long long Size,string Hash,
DestFile += ".decomp";
Desc.URI = decompProg + ":" + FileName;
QueueURI(Desc);
+
+ // FIXME: this points to a c++ string that goes out of scope
Mode = decompProg.c_str();
}
/*}}}*/