commit | 6abea7562b1999764d684fabb0756e22ae39bf53 | [log] [tgz] |
---|---|---|
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sat Aug 08 16:52:06 2009 -0500 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sat Aug 08 16:55:36 2009 -0500 |
tree | 931af21ae7827d369756a80b7740399f514f2d49 | |
parent | 866b62acdceb91881c01b15b0256601b8303732e [diff] [blame] |
[devel] Change "trans" to "trans_alpha"
diff --git a/png.c b/png.c index a12ec74..b4c6020 100644 --- a/png.c +++ b/png.c
@@ -344,8 +344,8 @@ if ((mask & PNG_FREE_TRNS) && (png_ptr->flags & PNG_FLAG_FREE_TRNS)) #endif { - png_free(png_ptr, info_ptr->trans); - info_ptr->trans = NULL; + png_free(png_ptr, info_ptr->trans_alpha); + info_ptr->trans_alpha = NULL; info_ptr->valid &= ~PNG_INFO_tRNS; #ifndef PNG_FREE_ME_SUPPORTED png_ptr->flags &= ~PNG_FLAG_FREE_TRNS;