Commit 9670d85d authored by Eric Cano's avatar Eric Cano
Browse files

Fixed missing delete.

parent 7922f8c7
......@@ -230,6 +230,7 @@ public:
m_checksum = adler32(m_checksum, (const Bytef *)buff, size);
close(randomFd);
close(tmpFileFd);
delete[] buff;
} catch (...) {
delete[] buff;
unlink(m_path.c_str());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment