--- parser3/src/lib/gd/gif.C 2005/05/12 09:34:50 1.5 +++ parser3/src/lib/gd/gif.C 2023/09/26 20:49:08 1.12 @@ -1,8 +1,8 @@ /** @file Parser: image manipulations impl1. - Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian based on: gd Written by Tom Boutell, 5/94. @@ -14,12 +14,10 @@ can incorporate them into new versions. */ -static const char * const IDENT_GIF_C="$Date: 2005/05/12 09:34:50 $"; - #include "gif.h" - #include "mtables.h" -//#include "pa_common.h" + +volatile const char * IDENT_GIF_C="$Id: gif.C,v 1.12 2023/09/26 20:49:08 moko Exp $" IDENT_GIF_H; //static void BrushApply(int x, int y); //static void TileApply(int x, int y); @@ -29,12 +27,12 @@ void gdImage::Create(int asx, int asy) { sy = asy; int i; - pixels = (unsigned char **) malloc(sizeof(unsigned char *) * sx); + pixels = (unsigned char **) pa_malloc(sizeof(unsigned char *) * sx); polyInts = 0; polyAllocated = 0; lineWidth = 1; for (i=0; (i