id_manager: Use calloc instead of malloc
authorReto Buerki <reet@codelabs.ch>
Tue, 21 Aug 2012 13:29:30 +0000 (15:29 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 19 Mar 2013 14:23:46 +0000 (15:23 +0100)
commitebe592a393b175d274cc8ac3a7b25521d595622b
tree444eac890c4fc3e58e4321c030ab7e46f09c51cb
parent1ee792f9ea06ecb01af019badbe1cbb1c260fc83
id_manager: Use calloc instead of malloc

This way we don't need to manually initialize the slot status; free
slots are now indicated by 0 though.
src/charon-tkm/src/tkm/tkm_id_manager.c