* Applied ajax's cleanup patch

This commit is contained in:
Tim Angus committed 2005-09-23 17:39:14 +00:00
1 parent 4c6f59c541
commit fe14a45ad1
40 files changed
+166 -166

No files matched your search

+1 -1
View File
@@ -1374,7 +1374,7 @@ static void LoadJPG( const char *filename, unsigned char **pic, int *width, int
/* This struct contains the JPEG decompression parameters and pointers to
* working space (which is allocated as needed by the JPEG library).
*/
struct jpeg_decompress_struct cinfo = {0};
struct jpeg_decompress_struct cinfo = {NULL};
/* We use our private extension JPEG error handler.
* Note that this struct must live as long as the main JPEG parameter
* struct, to avoid dangling-pointer problems.