#ifdef'd out multipath/QoS statistics buffers allocations for ZT_PROTOCOL_VERSION<10
This commit is contained in:
parent
59a0a25f35
commit
270debb3fc
3 changed files with 8 additions and 2 deletions
|
@ -62,7 +62,9 @@ private:
|
|||
public:
|
||||
~Peer() {
|
||||
Utils::burn(_key,sizeof(_key));
|
||||
#if ZT_PROTO_VERSION >= 10
|
||||
delete _pathChoiceHist;
|
||||
#endif
|
||||
_pathChoiceHist = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue