[PATCH 3/3] Use zalloc instead of calloc(1, ...)

Pekka Paalanen ppaalanen at gmail.com
Fri Nov 28 06:21:21 PST 2014


On Wed, 26 Nov 2014 15:22:45 +0100
Marek Chalupa <mchqwerty at gmail.com> wrote:

> $ git grep calloc\(1,
> 
> reveals that there are quite few more places where calloc(1, ...) is used.
> However, this patch is a good starter.
> 
> Reviewed-by: Marek Chalupa <mchqwerty at gmail.com>
> 
> On 21 November 2014 at 07:21, Bryce Harrington <bryce at osg.samsung.com>
> wrote:
> 
> > Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
> > ---
> >  src/cms-helper.c       |  2 +-
> >  src/compositor-drm.c   |  4 ++--
> >  src/compositor-fbdev.c |  6 +++---
> >  src/compositor-rpi.c   |  6 +++---
> >  src/compositor.c       | 16 ++++++++--------
> >  src/gl-renderer.c      | 12 +++++-------
> >  src/logind-util.c      |  4 ++--
> >  src/pixman-renderer.c  | 11 ++++++-----
> >  src/rpi-renderer.c     | 16 ++++++++--------
> >  src/text-backend.c     | 18 +++++++++++++-----
> >  src/vaapi-recorder.c   |  4 ++--
> >  11 files changed, 53 insertions(+), 46 deletions(-)

All three patches pushed.

Thanks,
pq


More information about the wayland-devel mailing list