diff options
| author | Tofu Buzzard <no-email> | 2010-11-27 13:08:00 +0000 |
|---|---|---|
| committer | Tofu Buzzard <no-email> | 2010-11-27 13:08:00 +0000 |
| commit | 31a109452d743af565f99029ec835e2f32261681 (patch) | |
| tree | 07375d9174730e1deec3aedcc6333fe8426cd827 /indra/llcommon/llfile.cpp | |
| parent | b3541777921142572f735c4b028e4fba91ae80a0 (diff) | |
| parent | 2f83766bb71772eda19a4c7c61896c0fd7fae8a4 (diff) | |
merge
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; } } |
