From b89f131a62bd256a0be2a07ac74cf89135dbab84 Mon Sep 17 00:00:00 2001 From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org> Date: Tue, 18 Mar 1997 17:15:24 +0100 Subject: [PATCH] bugfix *bonk* Rev: src/modules/Image/quant.c:1.7 --- src/modules/Image/quant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/Image/quant.c b/src/modules/Image/quant.c index ddd051ec6f..2067fccddc 100644 --- a/src/modules/Image/quant.c +++ b/src/modules/Image/quant.c @@ -1,5 +1,5 @@ #include <config.h> -/* $Id: quant.c,v 1.6 1997/03/18 16:00:48 mirar Exp $ */ +/* $Id: quant.c,v 1.7 1997/03/18 16:15:24 mirar Exp $ */ /* @@ -536,7 +536,7 @@ static struct colortable *colortable_allocate(int numcol) ct->rgb_node=malloc(sizeof(unsigned long)*numcol*2); ct->index=malloc(sizeof(unsigned short)*numcol); MEMSET(ct->rgb_node,0, - sizeof(unsigned long)*numcol*4); + sizeof(unsigned long)*numcol*2); return ct; } -- GitLab