#ifdef'd out multipath/QoS statistics buffers allocations for ZT_PROTOCOL_VERSION<10

This commit is contained in:
Joseph Henry 2019-03-01 13:28:00 -08:00
parent 59a0a25f35
commit 270debb3fc
3 changed files with 8 additions and 2 deletions

View file

@ -62,7 +62,9 @@ private:
public:
~Peer() {
Utils::burn(_key,sizeof(_key));
#if ZT_PROTO_VERSION >= 10
delete _pathChoiceHist;
#endif
_pathChoiceHist = NULL;
}