summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-02-24 13:02:10 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-02-28 13:59:14 -0800
commit0d741b34399c21a2933e423d8e4d63aff081641e (patch)
treeaff6654047a376782b4858dfce634fa090054d31 /src
parent34fef22d95124e3e59b6c7962bdc4a01c84dde2e (diff)
downloadqtlocation-mapboxgl-0d741b34399c21a2933e423d8e4d63aff081641e.tar.gz
[core] Release compareText after symbol preparation
It's a temporary structure and not needed for placement.
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/layout/symbol_layout.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/layout/symbol_layout.cpp b/src/mbgl/layout/symbol_layout.cpp
index 409128a6fd..e3c3d8946c 100644
--- a/src/mbgl/layout/symbol_layout.cpp
+++ b/src/mbgl/layout/symbol_layout.cpp
@@ -293,6 +293,7 @@ void SymbolLayout::prepare(uintptr_t tileUID,
}
features.clear();
+ compareText.clear();
}
void SymbolLayout::addFeature(const SymbolFeature& feature,