readium/readium-sdk — pull request #44 by john-nowak (2014-03-26 21:35:42+00:00)
Title: Fixed over-allocation and removed redundant zeroing in ByteBuffer

The change to the argument of 'sizeof' should be self-explanatory. The call to 'bzero' was removed as 'calloc' guarantees zeroed memory to begin with.