summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2020-01-13 17:35:30 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2020-01-13 17:35:30 +0200
commitc3d706be9e975a77976dc9d4656a1b50a95151a7 (patch)
tree2452f8ab597bd940cea7c75a31a96d1f2733af52 /indra/newview/llviewerobject.cpp
parent814a218785b2c5c0aa3b2c0bd6e6d5fee795d134 (diff)
SL-12537 Fixed crash when the box with 'script' moves between two regions
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 17e61d3a0d..efd8a23a5f 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -2982,6 +2982,7 @@ void LLViewerObject::fetchInventoryFromServer()
if (!isInventoryPending())
{
delete mInventory;
+ mInventory = NULL;
// Results in processTaskInv
LLMessageSystem* msg = gMessageSystem;