diff options
-rw-r--r-- | protocols/MRA/src/MraSendCommand.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/MRA/src/MraSendCommand.cpp b/protocols/MRA/src/MraSendCommand.cpp index 4255cd8a2e..e821b3548c 100644 --- a/protocols/MRA/src/MraSendCommand.cpp +++ b/protocols/MRA/src/MraSendCommand.cpp @@ -9,6 +9,7 @@ class OutBuffer public:
OutBuffer() : m_buf(0), m_max(0), m_actual(0) {}
+ ~OutBuffer() { if (m_buf) free(m_buf); }
void* Allocate(size_t len)
{
|