commit | 865f4f073a692279c4aecbce7c9b9ed5a27372cf | [log] [tgz] |
---|---|---|
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sun Sep 15 20:30:38 2002 -0500 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Mon Apr 06 16:07:28 2009 -0500 |
tree | 282c93bc5efeff3da080d1f167bdb61f9c36cf89 | |
parent | 51d9250c88aa62f3aaf7c1f72209513035066074 [diff] [blame] |
Imported from libpng-1.2.5rc2.tar
diff --git a/example.c b/example.c index 1cc450f..7956cf7 100644 --- a/example.c +++ b/example.c
@@ -282,7 +282,7 @@ /* This reduces the image to the palette supplied in the file */ else if (png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette)) { - png_uint_16p histogram; + png_uint_16p histogram = NULL; png_get_hIST(png_ptr, info_ptr, &histogram);