diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-04-27 00:59:36 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-04-27 00:59:36 -0700 |
commit | 9e80db0fd169de19d5d343e8b6998c8ace4aeb22 (patch) | |
tree | 13405cf405bfa600599d62ecde024a1b1513571c /node | |
parent | e8ab6adf8902dce98b4721e2f4a5382e54bcbcbc (diff) | |
download | infinitytier-9e80db0fd169de19d5d343e8b6998c8ace4aeb22.tar.gz infinitytier-9e80db0fd169de19d5d343e8b6998c8ace4aeb22.zip |
Cleanup, fix a valgrind error, stack use reduction.
Diffstat (limited to 'node')
-rw-r--r-- | node/CertificateOfOwnership.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/node/CertificateOfOwnership.hpp b/node/CertificateOfOwnership.hpp index 93be64dd..f01da38e 100644 --- a/node/CertificateOfOwnership.hpp +++ b/node/CertificateOfOwnership.hpp @@ -72,6 +72,8 @@ public: _thingCount(0), _issuedTo(issuedTo) { + memset(_thingTypes,0,sizeof(_thingTypes)); + memset(_thingValues,0,sizeof(_thingValues)); } inline uint64_t networkId() const { return _networkId; } |