summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraSendCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MRA/src/MraSendCommand.cpp')
-rw-r--r--protocols/MRA/src/MraSendCommand.cpp1
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)
{