diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-11-07 18:54:20 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2012-11-07 18:54:20 -0500 |
commit | 6a94c257a1c030978f4f7705ade39be4abb50b39 (patch) | |
tree | c392a71d81c54f1950692d0309cdc64fe84f44cd /indra | |
parent | 0c834deb97bfa26714c7e20912d9cac12429d0f2 (diff) |
Fixed a temp file deletion problem found by inspection of SL log file
Diffstat (limited to 'indra')
-rwxr-xr-x[-rw-r--r--] | indra/newview/llwearablelist.cpp | 4 |
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)); } } |