summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2017-08-23 18:39:47 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2017-08-23 18:39:47 +0300
commit1b264af38ca835f4dc64e965846a71313d4be781 (patch)
treef9668a5799ed73d59419e5d8c4724df0f0805f7b
parentd775f9b63dd842613abe254fd80451fb318502c1 (diff)
MAINT-7737 Fixed memory leak in Outfit Gallery
-rw-r--r--indra/newview/lloutfitgallery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp
index 0d289e6d87..cca65f2ce1 100644
--- a/indra/newview/lloutfitgallery.cpp
+++ b/indra/newview/lloutfitgallery.cpp
@@ -1215,6 +1215,7 @@ void LLOutfitGallery::uploadPhoto(LLUUID outfit_id)
upload_pending_name, callback, expected_upload_cost, nruserdata);
mOutfitLinkPending = outfit_id;
}
+ delete unit;
}
}