[libpng16] Add "free()" and "png_free_image()" calls to example code.

This commit is contained in:
John Bowler
2011-11-27 21:39:13 -06:00
committed by Glenn Randers-Pehrson
parent 5e934ba900
commit 414769b415
3 changed files with 29 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
*
* This code illustrates basic 'by-row' reading of a PNG file using libpng.
* Rows are read until a particular pixel is found, the value of this pixel is
* then printed on stdou.
* then printed on stdout.
*
* The code illustrates how to do this on interlaced as well as non-interlaced
* images. Normally you would call png_set_interlace_handling() to have libpng