diff options
author | brad kittenbrink <brad@lindenlab.com> | 2010-11-19 15:40:05 -0800 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2010-11-19 15:40:05 -0800 |
commit | fd78866bcdf712aaefecfb74d7edaecb30c91b27 (patch) | |
tree | 235398d36401c68fc841389bb11984d94d36d7db /indra/llcommon/llfile.cpp | |
parent | 3337ef16cee97e26b45aa07518d34d031bdc75fa (diff) | |
parent | b6edd74775e07ce392b0a1785cfc61338c890dad (diff) |
Merged latest lindenlab/viewer-development with mani_linden/viewer-development
Diffstat (limited to 'indra/llcommon/llfile.cpp')
-rw-r--r-- | indra/llcommon/llfile.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/llfile.cpp b/indra/llcommon/llfile.cpp index 289ce0bc2c..8f02391e75 100644 --- a/indra/llcommon/llfile.cpp +++ b/indra/llcommon/llfile.cpp @@ -318,7 +318,12 @@ void llofstream::close() if(is_open()) { if (_Filebuffer->close() == 0) + { _Myios::setstate(ios_base::failbit); /*Flawfinder: ignore*/ + } + delete _Filebuffer; + _Filebuffer = NULL; + _ShouldClose = false; } } |