png_destroy_write_struct

Name

png_destroy_write_struct -- free the memory associated with write png_struct

Synopsis

#include <png.h>

void png_destroy_write_struct(png_structpp png_ptr_ptr, png_infopp info_ptr_ptr);

Description

png_destroy_write_struct() frees the memory associated with the write png_struct struct that holds information for writing the PNG file and the associated png_info struct for holding the image information.