close zip archive and discard changes
zip_discard() function closes archive and frees the memory allocated for it. Any changes to the archive are not written to disk and discarded.
SEE ALSOlibzip(3), zip_close(3)
zip_discard() was added in libzip 0.11.