From 270debb3fc39c3f1f6a3f6fbc2c5fb6183182c8f Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Fri, 1 Mar 2019 13:28:00 -0800 Subject: #ifdef'd out multipath/QoS statistics buffers allocations for ZT_PROTOCOL_VERSION<10 --- node/Peer.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/Peer.hpp') diff --git a/node/Peer.hpp b/node/Peer.hpp index ae8f1e78..99d3fac2 100644 --- a/node/Peer.hpp +++ b/node/Peer.hpp @@ -62,7 +62,9 @@ private: public: ~Peer() { Utils::burn(_key,sizeof(_key)); +#if ZT_PROTO_VERSION >= 10 delete _pathChoiceHist; +#endif _pathChoiceHist = NULL; } -- cgit v1.2.3