summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-04-27 00:59:36 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-04-27 00:59:36 -0700
commit9e80db0fd169de19d5d343e8b6998c8ace4aeb22 (patch)
tree13405cf405bfa600599d62ecde024a1b1513571c /node
parente8ab6adf8902dce98b4721e2f4a5382e54bcbcbc (diff)
downloadinfinitytier-9e80db0fd169de19d5d343e8b6998c8ace4aeb22.tar.gz
infinitytier-9e80db0fd169de19d5d343e8b6998c8ace4aeb22.zip
Cleanup, fix a valgrind error, stack use reduction.
Diffstat (limited to 'node')
-rw-r--r--node/CertificateOfOwnership.hpp2
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; }