[sheepdog] [PATCH 2/2] collie: use xmalloc() where it is suitable than raw malloc()

MORITA Kazutaka morita.kazutaka at gmail.com
Sun Feb 24 10:36:55 CET 2013


At Sun, 24 Feb 2013 18:20:09 +0900,
Hitoshi Mitake wrote:
> 
> This patch replaces malloc() calls of collie with xmalloc() where fail
> of memory allocation directly causes a fatal error.
> 
> Cc: Harry Wei <harryxiyou at gmail.com>
> Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
> ---
>  collie/cluster.c  |    4 +---
>  collie/treeview.c |    6 +-----
>  collie/vdi.c      |   42 +++++++-----------------------------------
>  3 files changed, 9 insertions(+), 43 deletions(-)

Applied this one, thanks!

Kazutaka



More information about the sheepdog mailing list