Lines Matching refs:za
47 zip_discard(struct zip *za) in zip_discard() argument
51 if (za == NULL) in zip_discard()
54 if (za->zn) in zip_discard()
55 free(za->zn); in zip_discard()
57 if (za->zp) in zip_discard()
58 fclose(za->zp); in zip_discard()
60 free(za->default_password); in zip_discard()
61 _zip_string_free(za->comment_orig); in zip_discard()
62 _zip_string_free(za->comment_changes); in zip_discard()
64 if (za->entry) { in zip_discard()
65 for (i=0; i<za->nentry; i++) in zip_discard()
66 _zip_entry_finalize(za->entry+i); in zip_discard()
67 free(za->entry); in zip_discard()
70 for (i=0; i<za->nfile; i++) { in zip_discard()
71 if (za->file[i]->error.zip_err == ZIP_ER_OK) { in zip_discard()
72 _zip_error_set(&za->file[i]->error, ZIP_ER_ZIPCLOSED, 0); in zip_discard()
73 za->file[i]->za = NULL; in zip_discard()
77 _zip_error_fini(&za->error); in zip_discard()
78 free(za->file); in zip_discard()
80 free(za); in zip_discard()