diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2022-10-19 19:42:49 -0400 |
---|---|---|
committer | Rye Mutt <rye@alchemyviewer.org> | 2022-10-19 19:42:49 -0400 |
commit | 37766d9297fd692cc70490c898d647a11e04098b (patch) | |
tree | 92c65ea2953a3c337b9a838821b0afda8112742a | |
parent | a40e2b2af2e0b636954573f3348bced6af126f83 (diff) |
Fix use after free in material manager
-rw-r--r-- | indra/newview/llmaterialmgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmaterialmgr.cpp b/indra/newview/llmaterialmgr.cpp index 6e1e6506d9..a52f7244f3 100644 --- a/indra/newview/llmaterialmgr.cpp +++ b/indra/newview/llmaterialmgr.cpp @@ -660,8 +660,8 @@ void LLMaterialMgr::processGetQueue() { material_queue_t::iterator itMaterial = loopMaterial++; materialsData.append((*itMaterial).asLLSD()); - materials.erase(itMaterial); markGetPending(region_id, *itMaterial); + materials.erase(itMaterial); } if (materials.empty()) { |