summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-11-07 18:54:20 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-11-07 18:54:20 -0500
commit6a94c257a1c030978f4f7705ade39be4abb50b39 (patch)
treec392a71d81c54f1950692d0309cdc64fe84f44cd /indra/newview
parent0c834deb97bfa26714c7e20912d9cac12429d0f2 (diff)
Fixed a temp file deletion problem found by inspection of SL log file
Diffstat (limited to 'indra/newview')
-rwxr-xr-x[-rw-r--r--]indra/newview/llwearablelist.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llwearablelist.cpp b/indra/newview/llwearablelist.cpp
index 3dfacd70f3..507ce57e79 100644..100755
--- a/indra/newview/llwearablelist.cpp
+++ b/indra/newview/llwearablelist.cpp
@@ -134,6 +134,10 @@ void LLWearableList::processGetAssetReply( const char* filename, const LLAssetID
if(filename)
{
+ if (ifs.is_open())
+ {
+ ifs.close();
+ }
LLFile::remove(std::string(filename));
}
}