summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-12-20 18:31:26 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-12-20 18:31:26 +0800
commitc54c79b06fcbb369a9df82d2f526def0cb2b4474 (patch)
treec3f225c0630eb515a3ee05082833a4840ff3d00e /tools
parent6598973f2bfe61e6b3d89214b90ba7cd64a10ead (diff)
downloadmrust-c54c79b06fcbb369a9df82d2f526def0cb2b4474.tar.gz
minicargo - Attempt to fix crash on travis (use after free)
Diffstat (limited to 'tools')
-rw-r--r--tools/minicargo/manifest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/minicargo/manifest.cpp b/tools/minicargo/manifest.cpp
index bdb237dd..fa20cec7 100644
--- a/tools/minicargo/manifest.cpp
+++ b/tools/minicargo/manifest.cpp
@@ -575,7 +575,7 @@ void PackageManifest::set_features(const ::std::vector<::std::string>& features,
for(size_t i = start; i < m_active_features.size(); i ++)
{
- const auto& featname = m_active_features[i];
+ const auto featname = m_active_features[i];
// Look up this feature
auto it = m_features.find(featname);
if( it != m_features.end() )