From 3128ec1cdc6ebe38f4204265f927487b624ae26f Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 31 Jul 2009 14:01:49 +0000 Subject: Actually handle failure to allocate bitmap structure or retrieve its data buffer pointer. I hope these longjmps are valid -- libpng's documentation is unhelpfully vague on this subject. svn path=/trunk/netsurf/; revision=8924 --- image/png.h | 1 - 1 file changed, 1 deletion(-) (limited to 'image/png.h') diff --git a/image/png.h b/image/png.h index ffabd73b9..a5fa6dfae 100644 --- a/image/png.h +++ b/image/png.h @@ -37,7 +37,6 @@ struct content_png_data { png_infop info; int interlace; struct bitmap *bitmap; /**< Created NetSurf bitmap */ - unsigned char *bitbuffer; /**< Bitmap buffer */ size_t rowstride, bpp; /**< Bitmap rowstride and bpp */ size_t rowbytes; /**< Number of bytes per row */ }; -- cgit v1.2.3