delete of file handles if an error occurs

This commit is contained in:
Reece Wilson 2020-09-12 20:40:00 +01:00
parent 77d8c507e6
commit f1d83edc22

View File

@ -112,6 +112,7 @@ public:
}
if (!_stream.write(reinterpret_cast<const char *>(in), length))
{
MakeTemp();
return false;
}
return true;