From 78b2e2a16ca7d6449dc8fe138eaecb2d63a9d7fc Mon Sep 17 00:00:00 2001 From: Michael Zohner Date: Thu, 28 Jan 2016 14:14:04 +0100 Subject: [PATCH] Fixed another bug in counter --- src/util/ot/opemasking.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/ot/opemasking.h b/src/util/ot/opemasking.h index 39a5244..5fdf99e 100644 --- a/src/util/ot/opemasking.h +++ b/src/util/ot/opemasking.h @@ -82,7 +82,7 @@ public: uint32_t hashinbytes = m_nCodeWordBytes + sizeof(uint64_t); uint8_t *Mptr = matrix.GetArr(); CBitVector mask(m_nCodeWordBits * m_nExpansionFactor); - uint8_t* hash_buf = (uint8_t*) mlloc(m_nCodeWordBytes * m_nExpansionFactor); + uint8_t* hash_buf = (uint8_t*) malloc(m_nCodeWordBytes * m_nExpansionFactor); uint8_t* mask_ptr; uint8_t* hash_ptr; uint8_t* tmpbuf = (uint8_t*) calloc(hashinbytes, sizeof(uint8_t));