Close zip archive and discard changes
libzip (-lzip)
#include <zip.h>
void
zip_discard(struct zip *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 protected]> and Thomas Klausner <[email protected]>