Re: [PATCH wayland v3 3/3] scanner: use zxalloc

2015-07-30 Thread Bryce Harrington
On Thu, Jul 30, 2015 at 03:07:22PM +0200, Marek Chalupa wrote: > Use xzalloc instead of xmalloc. This allows us to get rid > of manual initializing the memory to 0s and the code is > shorter and cleaner > > Suggested by Bryce Harrington > > Signed-off-by: Marek Chalupa Reviewed-by: Bryce Harrin

[PATCH wayland v3 3/3] scanner: use zxalloc

2015-07-30 Thread Marek Chalupa
Use xzalloc instead of xmalloc. This allows us to get rid of manual initializing the memory to 0s and the code is shorter and cleaner Suggested by Bryce Harrington Signed-off-by: Marek Chalupa --- src/scanner.c | 83 --- 1 file changed, 40