Close files on error

This commit is contained in:
Floris Bos 2020-07-03 21:08:51 +02:00
parent 9a263f0211
commit 19bfc8eacb
3 changed files with 34 additions and 26 deletions

View file

@ -139,6 +139,7 @@ protected:
bool _openAndPrepareDevice();
void _writeCache(const char *buf, size_t len);
qint64 _sectorsWritten();
void _closeFiles();
/*
* libcurl callbacks