diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index 160d2aaa6..09c80c7dc 100644 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -2318,7 +2318,10 @@ void LLMeshHeaderResponder::completedRaw(LLChannelDescriptors const& channels, } if (data.size() > BUFF_MAX_STATIC_SIZE) + { + std::vector().swap(data); data.resize(BUFF_MAX_STATIC_SIZE); + } }