Searched refs:png_pixels (Results 1 – 3 of 3) sorted by relevance
168 png_byte *png_pixels = NULL; in pnm2png() local366 if ((png_pixels = (png_byte *) in pnm2png()374 pix_ptr = png_pixels; in pnm2png()444 free (png_pixels); in pnm2png()451 free (png_pixels); in pnm2png()466 free (png_pixels); in pnm2png()488 free (png_pixels); in pnm2png()495 row_pointers[i] = png_pixels + i * row_bytes; in pnm2png()508 if (png_pixels != NULL) in pnm2png()509 free (png_pixels); in pnm2png()
169 png_byte *png_pixels = NULL; in png2pnm() local299 if ((png_pixels = (png_byte *) in png2pnm()310 free (png_pixels); in png2pnm()316 row_pointers[i] = png_pixels + i * row_bytes; in png2pnm()356 pix_ptr = png_pixels; in png2pnm()422 if (png_pixels != NULL) in png2pnm()423 free (png_pixels); in png2pnm()
5324 Fixed potential leak of png_pixels in contrib/pngminus/pnm2png.c