mempool: add a zeroing alloc function
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 24 Oct 2014 13:30:18 +0000 (15:30 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Thu, 30 Oct 2014 18:50:50 +0000 (19:50 +0100)
commit52fc5ce38c871e8d75392592919c66ab7f7575dd
tree7c844b1ce11e0a2410a0b1eef2563fde090c4438
parentb5de6d984296c9446ba0d2d32fd3248f453208aa
mempool: add a zeroing alloc function

Add mempool_alloc0_tile(). It's like mempool_alloc_tile(), but it
initializes the allocated tile's memory to zero.
src/shared/mempool.c
src/shared/mempool.h