diff options
author | George Hazan <george.hazan@gmail.com> | 2015-01-29 14:07:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-01-29 14:07:23 +0000 |
commit | ddb498e9d73f3cba46791983ecece2371796f29b (patch) | |
tree | 6946397e2d33c931a9b9844640b495fb0e529b90 /protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp | |
parent | c4562ac53bba7b587af2fcb5eebd6051b11d1f04 (diff) |
more cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@11949 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp')
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp b/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp index cdd39a6509..035a3c9d39 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp +++ b/protocols/WhatsApp/src/WhatsAPI++/BinTreeNodeWriter.cpp @@ -20,6 +20,11 @@ BinTreeNodeWriter::BinTreeNodeWriter(WAConnection* conn, ISocketConnection* conn this->dataBegin = 0;
}
+BinTreeNodeWriter::~BinTreeNodeWriter()
+{
+ delete this->out;
+}
+
void BinTreeNodeWriter::writeDummyHeader()
{
int num = 3;
@@ -278,9 +283,3 @@ void BinTreeNodeWriter::write(const ProtocolTreeNode &node, bool needsFlush) }
this->mutex->unlock();
}
-
-BinTreeNodeWriter::~BinTreeNodeWriter()
-{
- if (this->out != NULL)
- delete this->out;
-}
|