Re: [PATCH weston 1/2] Add zalloc(size_t) allocator function

2013-08-08 Thread Kristian Høgsberg
On Thu, Aug 08, 2013 at 11:57:04AM +1000, Peter Hutterer wrote: > Same as calloc(1, len). > --- > Feel free to squash this with the follow-up, I just kept it separately to > make changes easier, the second one is just search/replace. > > shared/zalloc.h | 40 +

[PATCH weston 1/2] Add zalloc(size_t) allocator function

2013-08-07 Thread Peter Hutterer
Same as calloc(1, len). --- Feel free to squash this with the follow-up, I just kept it separately to make changes easier, the second one is just search/replace. shared/zalloc.h | 40 src/Makefile.am | 1 + src/compositor.h | 1 + 3 files changed, 42 i