diff --git a/src/modules/Image/quant.c b/src/modules/Image/quant.c
index ddd051ec6fbc2ff0c381c4cb12a947c8f1cfb0ff..2067fccddc6088ddf532b7757e8ac0d16abefd71 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;
 }