Provided by: libzip-dev_1.5.1-0ubuntu1_amd64
zip_discard — close zip archive and discard changes
#include <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.
zip_discard() was added in libzip 0.11.
Dieter Baron <firstname.lastname@example.org> and Thomas Klausner <email@example.com>