Proper destruction of DynamicTransferBuffer

This commit is contained in:
Pavel Kirienko
2014-02-05 19:35:14 +04:00
parent f707e889f9
commit c8c7a86f99
2 changed files with 7 additions and 2 deletions
@@ -96,6 +96,11 @@ public:
IsDynamicallyAllocatable<DynamicTransferBuffer>::check();
}
~DynamicTransferBuffer()
{
resetImpl();
}
int read(unsigned int offset, uint8_t* data, unsigned int len) const;
int write(unsigned int offset, const uint8_t* data, unsigned int len);
};