--- parser3/src/lib/gd/gif.C 2012/03/16 09:24:11 1.7 +++ 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-2012 Art. Lebedev Studio (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. @@ -17,7 +17,7 @@ #include "gif.h" #include "mtables.h" -volatile const char * IDENT_GIF_C="$Id: gif.C,v 1.7 2012/03/16 09:24:11 moko Exp $" IDENT_GIF_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); @@ -27,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