Changed the one remaining ping_info->trans to ping_info->trans_values
in coders/png.c
diff --git a/ChangeLog b/ChangeLog
index c547d99..0fa531c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-28 6.5.0-1 Glenn Randers-Pehrson <glennrp@image...>
+ * Changed the one remaining ping_info->trans to ping_info->trans_values
+ in coders/png.c
+
2009-11-26 6.5.8-1 Chris Madison <madisonblu@gmail...>
* Eliminate bogus 'skip to sync byte' exception for PCD image format.
* Add -define jpeg:extent option to restrict the maximum JPEG image file size.
diff --git a/coders/png.c b/coders/png.c
index 871c390..33a40ed 100644
--- a/coders/png.c
+++ b/coders/png.c
@@ -6567,7 +6567,7 @@
*/
ping_info->trans_alpha=(unsigned char *) AcquireQuantumMemory(
number_colors,sizeof(*ping_info->trans_alpha));
- if (ping_info->trans == (unsigned char *) NULL)
+ if (ping_info->trans_alpha == (unsigned char *) NULL)
ThrowWriterException(ResourceLimitError,
"MemoryAllocationFailed");
assert(number_colors <= 256);