Lines Matching refs:za
45 zip_discard(zip_t *za) in zip_discard() argument
49 if (za == NULL) in zip_discard()
52 if (za->src) { in zip_discard()
53 zip_source_close(za->src); in zip_discard()
54 zip_source_free(za->src); in zip_discard()
57 free(za->default_password); in zip_discard()
58 _zip_string_free(za->comment_orig); in zip_discard()
59 _zip_string_free(za->comment_changes); in zip_discard()
61 _zip_hash_free(za->names); in zip_discard()
63 if (za->entry) { in zip_discard()
64 for (i=0; i<za->nentry; i++) in zip_discard()
65 _zip_entry_finalize(za->entry+i); in zip_discard()
66 free(za->entry); in zip_discard()
69 for (i=0; i<za->nopen_source; i++) { in zip_discard()
70 _zip_source_invalidate(za->open_source[i]); in zip_discard()
72 free(za->open_source); in zip_discard()
74 zip_error_fini(&za->error); in zip_discard()
76 free(za); in zip_discard()