[98897] trunk/dports/science/h5utils/files/patch-writepng.c

jmr at macports.org jmr at macports.org
Sat Oct 20 04:25:43 PDT 2012


Revision: 98897
          http://trac.macports.org//changeset/98897
Author:   jmr at macports.org
Date:     2012-10-20 04:25:43 -0700 (Sat, 20 Oct 2012)
Log Message:
-----------
h5utils: fix patch

Modified Paths:
--------------
    trunk/dports/science/h5utils/files/patch-writepng.c

Modified: trunk/dports/science/h5utils/files/patch-writepng.c
===================================================================
--- trunk/dports/science/h5utils/files/patch-writepng.c	2012-10-20 11:19:20 UTC (rev 98896)
+++ trunk/dports/science/h5utils/files/patch-writepng.c	2012-10-20 11:25:43 UTC (rev 98897)
@@ -33,7 +33,7 @@
       /* if you malloced the palette, free it here */
 -     free(info_ptr->palette);
 +     if (eight_bit)
-+        png_free(palette);
++        png_free(png_ptr, palette);
  
       /* if you allocated any text comments, free them here */
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121020/9a52b789/attachment.html>


More information about the macports-changes mailing list