X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9724f75af5b196e43bf8da6baf314f574fede429..5c737c4c37eb7d0687e06e005678299fe8557bc4:/src/common/gifdecod.cpp diff --git a/src/common/gifdecod.cpp b/src/common/gifdecod.cpp index 131c5ecb80..828afb82c8 100644 --- a/src/common/gifdecod.cpp +++ b/src/common/gifdecod.cpp @@ -465,9 +465,9 @@ int wxGIFDecoder::dgif(GIFImage *img, int interl, int bits) while (code != ab_fin); #ifdef __WXMAC__ - delete [] ab_prefix ; - delete [] ab_tail ; - delete [] stack ; + delete [] ab_prefix ; + delete [] ab_tail ; + delete [] stack ; #endif return 0; } @@ -504,7 +504,8 @@ int wxGIFDecoder::ReadGIF() unsigned char type = 0; unsigned char pal[768]; unsigned char buf[16]; - GIFImage **ppimg, *pimg, *pprev; + GIFImage **ppimg; + GIFImage *pimg, *pprev; /* check GIF signature */ if (!CanRead())