Provided by: libzip-dev_1.0.1-0ubuntu1_amd64
zip_discard - close zip archive and discard changes
zip.h void zip_discard zip_t *archive
The zip_discard function closes archive and frees the memory allocated for it. Any changes to the archive are not written to disk and discarded.
Dieter Baron <email@example.com> and Thomas Klausner <firstname.lastname@example.org>