--- parser3/src/lib/gd/gif.h 2012/03/16 09:24:11 1.5 +++ parser3/src/lib/gd/gif.h 2024/11/04 03:53:25 1.11 @@ -1,8 +1,8 @@ /** @file Parser: image manipulations decls. - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) - Author: Alexandr Petrosian (http://paf.design.ru) + Copyright (c) 2001-2024 Art. Lebedev Studio (http://www.artlebedev.com) + Authors: Konstantin Morshnev , Alexandr Petrosian based on: gd.h: declarations file for the gifdraw module. @@ -18,7 +18,7 @@ #ifndef GIF_H #define GIF_H -#define IDENT_GIF_H "$Id: gif.h,v 1.5 2012/03/16 09:24:11 moko Exp $" +#define IDENT_GIF_H "$Id: gif.h,v 1.11 2024/11/04 03:53:25 moko Exp $" #include "pa_config_includes.h" @@ -42,7 +42,7 @@ class gdGrowingBuf: PA_Object { void expand(size_t delta) { size_t new_allocated=fallocated+delta; - fptr=(unsigned char*)realloc(fptr, new_allocated); + fptr=(unsigned char*)pa_realloc(fptr, new_allocated); fallocated=new_allocated; } public: