Skip to content
Snippets Groups Projects
Commit 88d76a0b authored by Andreas Schenk's avatar Andreas Schenk
Browse files

released png info struct after writing in png export

parent a150de43
No related branches found
No related tags found
No related merge requests found
......@@ -286,7 +286,7 @@ void MapIOPngHandler::Export(const img::MapHandle& image, std::ostream& f,const
png_write_end(png_ptr, info_ptr);
png_destroy_write_struct(&png_ptr, (png_infopp)NULL);
png_destroy_write_struct(&png_ptr, &info_ptr);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment