Branch: Tag:

2010-10-10

2010-10-10 21:56:21 by Martin Stjernholm <mast@lysator.liu.se>

Added extra padding in valgrind mode to work around valgrind false alarms.

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: font.c,v 1.92 2010/07/27 16:46:05 mast Exp $ + || $Id$   */      #include "global.h"
605:    else    img->ysize = this->height;    img->rgb.r=img->rgb.g=img->rgb.b=255; -  img->img=malloc(img->xsize*img->ysize*sizeof(rgb_group)+1); +  img->img=malloc(img->xsize*img->ysize*sizeof(rgb_group)+RGB_VEC_PAD);       if (!img->img) {    free_object(o);