delete of file handles if an error occurs
This commit is contained in:
parent
77d8c507e6
commit
f1d83edc22
@ -112,6 +112,7 @@ public:
|
||||
}
|
||||
if (!_stream.write(reinterpret_cast<const char *>(in), length))
|
||||
{
|
||||
MakeTemp();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user